fix: убраны не нужные юзинги, изменены методы
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user