2024-04-29 16:19:22 +04:00
|
|
|
|
using UniversityContracts.BindingModels;
|
|
|
|
|
using UniversityContracts.SearchModels;
|
|
|
|
|
using UniversityContracts.ViewModels;
|
2024-04-29 16:09:30 +04:00
|
|
|
|
|
|
|
|
|
|
2024-04-29 16:19:22 +04:00
|
|
|
|
namespace UniversityContracts.BusinessLogicContracts
|
2024-04-29 16:09:30 +04:00
|
|
|
|
{
|
|
|
|
|
public interface IPurchaseLogic
|
|
|
|
|
{
|
|
|
|
|
List<PurchaseViewModel> ReadList(PurchaseSearchModel? model = null);
|
|
|
|
|
PurchaseViewModel ReadElement(PurchaseSearchModel model);
|
|
|
|
|
bool Create(PurchaseBindingModel model);
|
|
|
|
|
bool Update(PurchaseBindingModel model);
|
|
|
|
|
bool Delete(PurchaseBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|