add storage and buisness logic contracts
This commit is contained in:
parent
6ee3df9452
commit
0f149203e7
@ -0,0 +1,20 @@
|
||||
using FurnitureAssembly_Storekeeper_Contracts.BindingModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.SearchModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FurnitureAssembly_Storekeeper_Contracts.BusinessLogicsContracts
|
||||
{
|
||||
public 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 FurnitureAssembly_Storekeeper_Contracts.BindingModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.SearchModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FurnitureAssembly_Storekeeper_Contracts.BusinessLogicsContracts
|
||||
{
|
||||
public interface IMaterialLogic
|
||||
{
|
||||
List<MaterialViewModel>? ReadList(MaterialSearchModel? model);
|
||||
MaterialViewModel? ReadElement(MaterialSearchModel model);
|
||||
bool Create(MaterialBindingModel model);
|
||||
bool Update(MaterialBindingModel model);
|
||||
bool Delete(MaterialBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
using FurnitureAssembly_Storekeeper_Contracts.BindingModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.SearchModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FurnitureAssemblyContracts.BusinessLogicsContracts
|
||||
{
|
||||
public interface IRoleLogic
|
||||
{
|
||||
List<RoleViewModel>? ReadList(RoleSearchModel? model);
|
||||
RoleViewModel? ReadElement(RoleSearchModel model);
|
||||
bool Create(RoleBindingModel model);
|
||||
bool Update(RoleBindingModel model);
|
||||
bool Delete(RoleBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
using FurnitureAssembly_Storekeeper_Contracts.BindingModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.SearchModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FurnitureAssembly_Storekeeper_Contracts.BusinessLogicsContracts
|
||||
{
|
||||
public interface IScopeLogic
|
||||
{
|
||||
List<ScopeViewModel>? ReadList(ScopeSearchModel? model);
|
||||
ScopeViewModel? ReadElement(ScopeSearchModel model);
|
||||
bool Create(ScopeBindingModel model);
|
||||
bool Update(ScopeBindingModel model);
|
||||
bool Delete(ScopeBindingModel model);
|
||||
}
|
||||
}
|
@ -1,4 +1,7 @@
|
||||
using System;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.BindingModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.SearchModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
@ -0,0 +1,21 @@
|
||||
using FurnitureAssembly_Storekeeper_Contracts.BindingModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.SearchModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FurnitureAssembly_Storekeeper_Contracts.StoragesContracts
|
||||
{
|
||||
public interface IFurnitureStorage
|
||||
{
|
||||
List<FurnitureViewModel> GetFullList();
|
||||
List<FurnitureViewModel> GetFilteredList(FurnitureSearchModel model);
|
||||
FurnitureViewModel? GetElement(FurnitureSearchModel model);
|
||||
FurnitureViewModel? Insert(FurnitureBindingModel model);
|
||||
FurnitureViewModel? Update(FurnitureBindingModel model);
|
||||
FurnitureViewModel? Delete(FurnitureBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
using FurnitureAssembly_Storekeeper_Contracts.BindingModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.SearchModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FurnitureAssembly_Storekeeper_Contracts.StoragesContracts
|
||||
{
|
||||
public interface IMaterialStorage
|
||||
{
|
||||
List<MaterialViewModel> GetFullList();
|
||||
List<MaterialViewModel> GetFilteredList(MaterialSearchModel model);
|
||||
MaterialViewModel? GetElement(MaterialSearchModel model);
|
||||
MaterialViewModel? Insert(MaterialBindingModel model);
|
||||
MaterialViewModel? Update(MaterialBindingModel model);
|
||||
MaterialViewModel? Delete(MaterialBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
using FurnitureAssembly_Storekeeper_Contracts.BindingModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.SearchModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FurnitureAssembly_Storekeeper_Contracts.StoragesContracts
|
||||
{
|
||||
public interface IRoleStorage
|
||||
{
|
||||
List<RoleViewModel> GetFullList();
|
||||
List<RoleViewModel> GetFilteredList(RoleSearchModel model);
|
||||
RoleViewModel? GetElement(RoleSearchModel model);
|
||||
RoleViewModel? Insert(RoleBindingModel model);
|
||||
RoleViewModel? Update(RoleBindingModel model);
|
||||
RoleViewModel? Delete(RoleBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
using FurnitureAssembly_Storekeeper_Contracts.BindingModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.SearchModels;
|
||||
using FurnitureAssembly_Storekeeper_Contracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FurnitureAssembly_Storekeeper_Contracts.StoragesContracts
|
||||
{
|
||||
public interface IScopeStorage
|
||||
{
|
||||
List<ScopeViewModel> GetFullList();
|
||||
List<ScopeViewModel> GetFilteredList(ScopeSearchModel model);
|
||||
ScopeViewModel? GetElement(ScopeSearchModel model);
|
||||
ScopeViewModel? Insert(ScopeBindingModel model);
|
||||
ScopeViewModel? Update(ScopeBindingModel model);
|
||||
ScopeViewModel? Delete(ScopeBindingModel model);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user