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