24 lines
582 B
C#
24 lines
582 B
C#
using Contracts.BindingModels;
|
|
using Contracts.SearchModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Contracts.StorageContracts
|
|
{
|
|
public interface IPurchaseStorage
|
|
{
|
|
PurchaseBindingModel? Insert(PurchaseBindingModel model);
|
|
|
|
IEnumerable<PurchaseBindingModel> GetList(PurchaseSearchModel? model);
|
|
|
|
PurchaseBindingModel? GetElement(PurchaseSearchModel model);
|
|
|
|
PurchaseBindingModel? Update(PurchaseBindingModel model);
|
|
|
|
PurchaseBindingModel? Delete(PurchaseSearchModel model);
|
|
}
|
|
}
|