47 lines
1.6 KiB
C#
47 lines
1.6 KiB
C#
using CompanyManagment.App.Contracts.PersonalContractingParty;
|
|
using System.Collections.Generic;
|
|
using _0_Framework.Application;
|
|
using _0_Framework.Domain;
|
|
using AccountManagement.Application.Contracts.Account;
|
|
|
|
namespace Company.Domain.ContarctingPartyAgg;
|
|
|
|
public interface IPersonalContractingPartyRepository :IRepository<long, PersonalContractingParty>
|
|
{
|
|
List<PersonalContractingPartyViewModel> GetPersonalContractingParties();
|
|
EditPersonalContractingParty GetDetails(long id);
|
|
string IsBlockByEmployerId(long employerId);
|
|
EditPersonalContractingParty GetDetailsToEdit(long id);
|
|
string GetFullName(long id);
|
|
List<PersonalContractingPartyViewModel> Search(PersonalContractingPartySearchModel searchModel2);
|
|
int GetLastArchiveCode();
|
|
#region Mahan
|
|
|
|
List<string> SearchByName(string name);
|
|
|
|
AccountViewModel GetAccountByPersonalContractingParty(long contractingPartyId);
|
|
#endregion
|
|
#region ForClient
|
|
|
|
ContractingPartyAndStatmentIdViewModel GetContractingpartyIdByAccountId(long accountId);
|
|
|
|
#endregion
|
|
#region NewByHeydari
|
|
List<PersonalContractingPartyViewModel> GetPersonalContractingPartiesForNationalcode(string searchText);
|
|
List<PersonalContractingPartyViewModel> SearchForMain(PersonalContractingPartySearchModel searchModel2);
|
|
OperationResult DeletePersonalContractingParties(long id);
|
|
bool GetHasContract(long id);
|
|
OperationResult DeActiveAll(long id);
|
|
OperationResult ActiveAll(long id);
|
|
|
|
#endregion
|
|
|
|
#region Insurance
|
|
|
|
bool IsBlockCheckByWorkshopId(long workshopId);
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
} |