using CanteenContracts.BindingModels; using CanteenContracts.SearchModel; using CanteenContracts.View; using CanteenDataModels.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CanteenContracts.BusinessLogicsContracts { public interface ILunchLogic { List? ReadList(LunchSearchModel? model); LunchViewModel? ReadElement(LunchSearchModel model); bool Create(LunchBindingModel model); bool Update(LunchBindingModel model); bool Delete(LunchBindingModel model); bool Finish(LunchBindingModel model); bool AddProductToLunch(LunchSearchModel model, IProductModel product, int count); bool AddOrderToLunch(LunchSearchModel model, IOrderModel order, int count); } }