forked from slavaxom9k/PIBD-23_Fomichev_V.S._MagicCarpet
19 lines
531 B
C#
19 lines
531 B
C#
using MagicCarpetContracts.DataModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MagicCarpetContracts.StoragesContracts;
|
|
|
|
public interface IAgencyStorageContract
|
|
{
|
|
List<AgencyDataModel> GetList();
|
|
AgencyDataModel? GetElementById(string id);
|
|
AgencyDataModel? GetElementByName(string name);
|
|
void AddElement(AgencyDataModel agencyDataModel);
|
|
void UpdElement(AgencyDataModel agencyDataModel);
|
|
void DelElement(string id);
|
|
}
|