forked from slavaxom9k/PIBD-23_Fomichev_V.S._MagicCarpet
18 lines
569 B
C#
18 lines
569 B
C#
using MagicCarpetContracts.DataModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MagicCarpetContracts.BusinessLogicContracts;
|
|
|
|
public interface ISuppliesBusinessLogicContract
|
|
{
|
|
List<SuppliesDataModel> GetAllComponents();
|
|
SuppliesDataModel GetComponentByData(string data);
|
|
void InsertComponent(SuppliesDataModel componentDataModel);
|
|
void UpdateComponent(SuppliesDataModel componentDataModel);
|
|
int CalculateTourSupplies(DateTime? startDate, DateTime? endDate);
|
|
}
|