fix: убраны не нужные юзинги, изменены методы

This commit is contained in:
2025-04-20 11:45:25 +04:00
parent 9e29b56923
commit 6d24753be0
16 changed files with 8 additions and 88 deletions

View File

@@ -1,9 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.BusinessLogicContracts;

View File

@@ -1,9 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.BusinessLogicContracts;

View File

@@ -1,9 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.BusinessLogicContracts;

View File

@@ -1,10 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.BusinessLogicContracts;
public interface ICurrencyBusinessLogicContract

View File

@@ -1,9 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.BusinessLogicContracts;

View File

@@ -1,9 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.BusinessLogicContracts;

View File

@@ -1,9 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.BusinessLogicContracts;

View File

@@ -1,9 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.BusinessLogicContracts;

View File

@@ -1,9 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.StorageContracts;
@@ -15,9 +10,7 @@ public interface IClerkStorageContract
ClerkDataModel? GetElementByPhoneNumber(string phoneNumber);
ClerkDataModel? GetElementByName(string name);
ClerkDataModel? GetElementBySurname(string surname);
ClerkDataModel? GetElementByLogin(string login);
void AddElement(ClerkDataModel clerkDataModel);

View File

@@ -1,9 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.StorageContracts;

View File

@@ -1,9 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.StorageContracts;
@@ -14,4 +9,6 @@ public interface ICreditProgramStorageContract
CreditProgramDataModel? GetElementById(string id);
void AddElement(CreditProgramDataModel creditProgramDataModel);
void UpdElement(CreditProgramDataModel creditProgramDataModel);
}

View File

@@ -1,9 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.StorageContracts;

View File

@@ -1,9 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.StorageContracts;
@@ -16,4 +11,6 @@ public interface IDepositStorageContract
DepositDataModel? GetElementByName(string name);
void AddElement(DepositDataModel depositDataModel);
void UpdElement(DepositDataModel depositDataModel);
}

View File

@@ -1,9 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.StorageContracts;

View File

@@ -1,9 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.StorageContracts;
@@ -14,4 +9,6 @@ public interface IReplenishmentStorageContract
ReplenishmentDataModel? GetElementById(string id);
void AddElement(ReplenishmentDataModel replenishmentDataModel);
void UpdElement(ReplenishmentDataModel replenishmentDataModel);
}

View File

@@ -1,10 +1,4 @@
using BankContracts.DataModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.StorageContracts;
public interface IStorekeeperStorageContract
@@ -15,9 +9,7 @@ public interface IStorekeeperStorageContract
StorekeeperDataModel? GetElementByPhoneNumber(string phoneNumber);
StorekeeperDataModel? GetElementByName(string name);
StorekeeperDataModel? GetElementBySurname(string surname);
StorekeeperDataModel? GetElementByLogin(string login);
void AddElement(StorekeeperDataModel storekeeperDataModel);