using System.Collections.Generic; using System.Threading.Tasks; using _0_Framework.Application; using _0_Framework.Domain; using CompanyManagment.App.Contracts.PersonalContractingParty; using CompanyManagment.App.Contracts.Representative; namespace Company.Domain.RepresentativeAgg; public interface IRepresentativeRepository : IRepository { List GetRepresentatives(); List GetContractingParties(long id); EditRepresentative GetDetails(long id); List Search(RepresentativeSearchModel searchModel); #region NewByHeydari List GetRepresentativeListForSearchText(string searchText); bool DeleteRepresentative(long id); #endregion #region Api Task> GetList(RepresentativeGetListSearchModel searchModel); bool HasAnyContractingParty(long id); Task> GetSelectList(); #endregion }