Logic
This commit is contained in:
parent
25cf3d827e
commit
1ac6648115
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
@ -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);
|
||||
}
|
||||
}
|
@ -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);
|
||||
}
|
||||
}
|
@ -4,7 +4,7 @@ using FurnitureContracts.ViewModel;
|
||||
|
||||
namespace FurnitureContracts.BusinessLogicsContracts
|
||||
{
|
||||
public class IOrdersLogic
|
||||
interface IOrdersLogic
|
||||
{
|
||||
List<OrdersViewModel>? ReadList(OrderSearchModel? model);
|
||||
OrdersViewModel? ReadElement(OrderSearchModel model);
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user