2024-06-11 12:18:10 +04:00
|
|
|
|
using Contracts.BindingModels;
|
|
|
|
|
using Contracts.SearchModels;
|
|
|
|
|
using Contracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Contracts.BusinessLogicContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IPurchaseLogic
|
|
|
|
|
{
|
|
|
|
|
PurchaseViewModel Create(PurchaseBindingModel model);
|
|
|
|
|
|
|
|
|
|
PurchaseViewModel Update(PurchaseBindingModel model);
|
|
|
|
|
|
|
|
|
|
PurchaseViewModel ReadElement(PurchaseSearchModel model);
|
|
|
|
|
|
2024-06-24 15:06:42 +04:00
|
|
|
|
List<PurchaseViewModel> ReadElements(PurchaseSearchModel? model);
|
2024-06-11 12:18:10 +04:00
|
|
|
|
|
|
|
|
|
PurchaseViewModel Delete(PurchaseSearchModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|