Созданы контракты бизнес логики
This commit is contained in:
parent
b3d06a206a
commit
a19bf4142b
@ -0,0 +1,20 @@
|
|||||||
|
using LawFirmContracts.BindingModels;
|
||||||
|
using LawFirmContracts.SearchModels;
|
||||||
|
using LawFirmContracts.ViewModels;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace LawFirmContracts.BusinessLogicContracts
|
||||||
|
{
|
||||||
|
public interface IBlankLogic
|
||||||
|
{
|
||||||
|
List<BlankViewModel>? ReadList(BlankSearchModel? model);
|
||||||
|
BlankViewModel? ReadElement(BlankSearchModel model);
|
||||||
|
bool Create(BlankBindingModel model);
|
||||||
|
bool Update(BlankBindingModel model);
|
||||||
|
bool Delete(BlankBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
using LawFirmContracts.BindingModels;
|
||||||
|
using LawFirmContracts.SearchModels;
|
||||||
|
using LawFirmContracts.ViewModels;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace LawFirmContracts.BusinessLogicContracts
|
||||||
|
{
|
||||||
|
public interface IDocumentLogic
|
||||||
|
{
|
||||||
|
List<DocumentViewModel>? ReadList(DocumentSearchModel? model);
|
||||||
|
DocumentViewModel? ReadElement(DocumentSearchModel model);
|
||||||
|
bool Create(DocumentBindingModel model);
|
||||||
|
bool Update(DocumentBindingModel model);
|
||||||
|
bool Delete(DocumentBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
using LawFirmContracts.BindingModels;
|
||||||
|
using LawFirmContracts.SearchModels;
|
||||||
|
using LawFirmContracts.ViewModels;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace LawFirmContracts.BusinessLogicContracts
|
||||||
|
{
|
||||||
|
public interface IOrderLogic
|
||||||
|
{
|
||||||
|
List<OrderViewModel>? ReadList(OrderSearchModel? model);
|
||||||
|
bool CreateOrder(OrderBindingModel model);
|
||||||
|
bool TakeOrderInWork(OrderBindingModel model);
|
||||||
|
bool FinishOrder(OrderBindingModel model);
|
||||||
|
bool DeliveryOrder(OrderBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace LawFirmContracts.ViewModels
|
namespace LawFirmContracts.ViewModels
|
||||||
{
|
{
|
||||||
internal class OrderViewModel : IOrderModel
|
public class OrderViewModel : IOrderModel
|
||||||
{
|
{
|
||||||
public int DocumentId { get; set; }
|
public int DocumentId { get; set; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user