This commit is contained in:
Ismailov_Rovshan 2023-04-05 23:14:46 +04:00
parent 25cf3d827e
commit 1ac6648115
6 changed files with 82 additions and 2 deletions

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace FurnitureContracts.BindingModels
{
internal class HeadsetModuleModel : IHeadsetModuleModel
internal class HeadsetModuleBindingModel : IHeadsetModuleModel
{
public string Style { get; set; } = string.Empty;

View File

@ -0,0 +1,20 @@
using FurnitureContracts.BindingModels;
using FurnitureContracts.SearchModels;
using FurnitureContracts.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureContracts.BusinessLogicsContracts
{
interface IFurnitureLogic
{
List<FurnitureViewModel>? ReadList(FurnitureSearchModel? model);
FurnitureViewModel? ReadElement(FurnitureSearchModel model);
bool Create(FurnitureBindingModel model);
bool Update(FurnitureBindingModel model);
bool Delete(FurnitureBindingModel model);
}
}

View File

@ -0,0 +1,20 @@
using FurnitureContracts.BindingModels;
using FurnitureContracts.SearchModels;
using FurnitureContracts.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureContracts.BusinessLogicsContracts
{
internal interface IHeadsetModuleLogic
{
List<HeadsetModuleViewModel>? ReadList(HeadsetModuleSearchModel? model);
HeadsetModuleViewModel? ReadElement(HeadsetModuleSearchModel model);
bool Create(HeadsetModuleBindingModel model);
bool Update(HeadsetModuleBindingModel model);
bool Delete(HeadsetModuleBindingModel model);
}
}

View File

@ -0,0 +1,20 @@
using FurnitureContracts.BindingModels;
using FurnitureContracts.SearchModels;
using FurnitureContracts.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureContracts.BusinessLogicsContracts
{
interface IMaterialLogic
{
List<MaterialViewModel>? ReadList(MaterialSearchModel? model);
MaterialViewModel? ReadElement(MaterialSearchModel model);
bool Create(MaterialBindingModel model);
bool Update(MaterialBindingModel model);
bool Delete(MaterialBindingModel model);
}
}

View File

@ -4,7 +4,7 @@ using FurnitureContracts.ViewModel;
namespace FurnitureContracts.BusinessLogicsContracts
{
public class IOrdersLogic
interface IOrdersLogic
{
List<OrdersViewModel>? ReadList(OrderSearchModel? model);
OrdersViewModel? ReadElement(OrderSearchModel model);

View File

@ -0,0 +1,20 @@
using FurnitureContracts.BindingModels;
using FurnitureContracts.SearchModels;
using FurnitureContracts.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureContracts.BusinessLogicsContracts
{
interface IUserLogic
{
List<UserViewModel>? ReadList(UserSearchModel? model);
UserViewModel? ReadElement(UserSearchModel model);
bool Create(UserBindingModel model);
bool Update(UserBindingModel model);
bool Delete(UserBindingModel model);
}
}