This commit is contained in:
Ismailov_Rovshan 2023-04-05 23:16:25 +04:00
commit 7d8cb99b89
4 changed files with 51 additions and 6 deletions

View File

@ -0,0 +1,15 @@
using FurnitureContracts.BindingModels;
using FurnitureContracts.SearchModels;
using FurnitureContracts.ViewModel;
namespace FurnitureContracts.BusinessLogicsContracts
{
public interface IOrdersLogic
{
List<OrdersViewModel>? ReadList(OrderSearchModel? model);
OrdersViewModel? ReadElement(OrderSearchModel model);
bool Create(OrdersBindingModel model);
bool Update(OrdersBindingModel model);
bool Delete(OrdersBindingModel model);
}
}

View File

@ -4,12 +4,12 @@ using FurnitureContracts.ViewModel;
namespace FurnitureContracts.BusinessLogicsContracts
{
interface IOrdersLogic
public interface IRoleLogic
{
List<OrdersViewModel>? ReadList(OrderSearchModel? model);
OrdersViewModel? ReadElement(OrderSearchModel model);
bool Create(OrdersBindingModel model);
bool Update(OrdersBindingModel model);
bool Delete(OrdersBindingModel model);
List<RoleViewModel>? ReadList(RoleSearchModel? model);
RoleViewModel? ReadElement(RoleSearchModel model);
bool Create(RoleBindingModel model);
bool Update(RoleBindingModel model);
bool Delete(RoleBindingModel model);
}
}

View File

@ -0,0 +1,15 @@
using FurnitureContracts.BindingModels;
using FurnitureContracts.SearchModels;
using FurnitureContracts.ViewModel;
namespace FurnitureContracts.BusinessLogicsContracts
{
public interface IOrdersLogic
{
List<OrdersViewModel>? ReadList(OrderSearchModel? model);
OrdersViewModel? ReadElement(OrderSearchModel model);
bool Create(OrdersBindingModel model);
bool Update(OrdersBindingModel model);
bool Delete(OrdersBindingModel model);
}
}

View File

@ -0,0 +1,15 @@
using FurnitureContracts.BindingModels;
using FurnitureContracts.SearchModels;
using FurnitureContracts.ViewModel;
namespace FurnitureContracts.BusinessLogicsContracts
{
public interface IOrdersLogic
{
List<OrdersViewModel>? ReadList(OrderSearchModel? model);
OrdersViewModel? ReadElement(OrderSearchModel model);
bool Create(OrdersBindingModel model);
bool Update(OrdersBindingModel model);
bool Delete(OrdersBindingModel model);
}
}