Compare commits

..

2 Commits

Author SHA1 Message Date
7d8cb99b89 logic 2023-04-05 23:16:25 +04:00
1ac6648115 Logic 2023-04-05 23:14:46 +04:00
5 changed files with 81 additions and 1 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

@ -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);
}
}