2024-06-22 11:01:06 +04:00
|
|
|
|
using Contracts.BindingModels;
|
|
|
|
|
using Contracts.SearchModels;
|
|
|
|
|
using Contracts.ViewModels;
|
2024-06-23 22:18:51 +04:00
|
|
|
|
using DataModels.Enums;
|
2024-06-22 11:01:06 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Contracts.BusinessLogicContracts
|
|
|
|
|
{
|
|
|
|
|
public interface ISupplyLogic
|
|
|
|
|
{
|
|
|
|
|
List<SupplyViewModel>? ReadList(SupplySearchModel? model);
|
|
|
|
|
SupplyViewModel? ReadElement(SupplySearchModel model);
|
|
|
|
|
bool Create(SupplyBindingModel model);
|
|
|
|
|
bool Update(SupplyBindingModel model);
|
|
|
|
|
bool Delete(SupplyBindingModel model);
|
2024-06-23 22:18:51 +04:00
|
|
|
|
bool StatusUpdate(SupplyBindingModel model, SupplyStatus status);
|
2024-06-22 11:01:06 +04:00
|
|
|
|
}
|
|
|
|
|
}
|