19 lines
724 B
C#
19 lines
724 B
C#
using Marco.Pms.Model.Dtos.Project;
|
|
using Marco.Pms.Model.Projects;
|
|
using System.Linq.Expressions;
|
|
|
|
namespace Marco.Pms.DataAccess.Repository.IRepository
|
|
{
|
|
public interface IProjectRepository : IRepository<Project>
|
|
{
|
|
void Update(Project project);
|
|
Task<List<Project>> GetAsync(Expression<Func<Project, bool>>? filter = null, string? includeProperties = null);
|
|
Task<List<Project>> GetAllAsync(Expression<Func<Project, bool>>? filter = null, string? includeProperties = null);
|
|
Task<Project> CreateAsync(Project project);
|
|
Task<Project> UpdateAsync(int id, UpdateProjectDto project);
|
|
|
|
// Task<List<Project>> GetAsync(int id, string? includeProperties = null);
|
|
}
|
|
|
|
}
|