21 lines
822 B
C#
21 lines
822 B
C#
using Marco.Pms.Model.Dtos.Project;
|
|
using Marco.Pms.Model.Projects;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Linq.Expressions;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Marco.Pms.DataAccess.Repository.IRepository
|
|
{
|
|
public interface IProjectAllocationRepository
|
|
{
|
|
void Update(ProjectAllocation project);
|
|
Task<List<ProjectAllocation>> GetAsync(Expression<Func<ProjectAllocation, bool>>? filter = null, string? includeProperties = null);
|
|
Task<List<ProjectAllocation>> GetAllAsync(Expression<Func<ProjectAllocation, bool>>? filter = null, string? includeProperties = null);
|
|
Task<ProjectAllocation> CreateAsync(ProjectAllocation project);
|
|
Task<ProjectAllocation> UpdateAsync(int id, ProjectAllocation project);
|
|
}
|
|
}
|