16 lines
443 B
C#
16 lines
443 B
C#
using _0_Framework.Domain;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using CompanyManagment.App.Contracts.Law;
|
|
|
|
namespace Company.Domain.LawAgg
|
|
{
|
|
public interface ILawRepository : IRepository<long, Law>
|
|
{
|
|
Task<Law> GetWithItems(long id);
|
|
Task<List<Law>> GetActive();
|
|
Task<LawViewModel> GetByType(LawType type);
|
|
Task<List<LawViewModel>> GetList(LawSearchModel searchModel);
|
|
}
|
|
}
|