forked from slavaxom9k/PIBD-23_Fomichev_V.S._MagicCarpet
18 lines
519 B
C#
18 lines
519 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 IAgencyBusinessLogicContract
|
|
{
|
|
List<AgencyDataModel> GetAllComponents();
|
|
AgencyDataModel GetComponentByData(string data);
|
|
void InsertComponent(AgencyDataModel agencyDataModel);
|
|
void UpdateComponent(AgencyDataModel agencyDataModel);
|
|
void DeleteComponent(string id);
|
|
}
|