feat: изменение в интерфейсах бизнес логики

This commit is contained in:
2025-04-19 13:39:22 +04:00
parent 319f927922
commit 9e29b56923
6 changed files with 17 additions and 1 deletions

View File

@@ -11,6 +11,8 @@ public interface IClientBusinessLogicContract
{
List<ClientDataModel> GetAllClients();
List<ClientDataModel> GetClientByClerk(string clerkId);
ClientDataModel GetClientByData(string data);
void InsertClient(ClientDataModel clientDataModel);

View File

@@ -11,7 +11,11 @@ public interface ICreditProgramBusinessLogicContract
{
List<CreditProgramDataModel> GetAllCreditPrograms();
CreditProgramDataModel GetCreditProgramByData(string data);
List<CreditProgramDataModel> GetCreditProgramByStorekeeper(string storekeeperId);
List<CreditProgramDataModel> GetCreditProgramByPeriod(string periodId);
CreditProgramDataModel GetCreditProgramByData(string data);
void InsertCreditProgram(CreditProgramDataModel creditProgramDataModel);

View File

@@ -11,6 +11,8 @@ public interface ICurrencyBusinessLogicContract
{
List<CurrencyDataModel> GetAllCurrencys();
List<CurrencyDataModel> GetCurrencyByStorekeeper(string storekeeperId);
CurrencyDataModel GetCurrencyByData(string data);
void InsertCurrency(CurrencyDataModel currencyDataModel);

View File

@@ -10,6 +10,8 @@ namespace BankContracts.BusinessLogicContracts;
public interface IDepositBusinessLogicContract
{
List<DepositDataModel> GetAllDeposits();
List<DepositDataModel> GetDepositByClerk(string clerkId);
DepositDataModel GetDepositByData(string data);

View File

@@ -13,6 +13,8 @@ public interface IPeriodBusinessLogicContract
PeriodDataModel GetPeriodByData(string data);
List<PeriodDataModel> GetAllPeriodsByStorekeeper(string storekeeperId);
List<PeriodDataModel> GetAllPeriodsByStartTime(DateTime fromDate, DateTime toDate);
List<PeriodDataModel> GetAllPeriodsByEndTime(DateTime fromDate, DateTime toDate);

View File

@@ -15,6 +15,10 @@ public interface IReplenishmentBusinessLogicContract
List<ReplenishmentDataModel> GetAllReplenishmentsByDate(DateTime fromDate, DateTime toDate);
List<ReplenishmentDataModel> GetAllReplenishmentsByDeposit(string depositId);
List<ReplenishmentDataModel> GetAllReplenishmentsByClerk(string clerkId);
void InsertReplenishment(ReplenishmentDataModel replenishmentataModel);
void UpdateReplenishment(ReplenishmentDataModel replenishmentataModel);