SUBD-Petrushin-Egor-PIbd-22/TaskTrackerContracts/StoragesContracts/IDirectionStorage.cs
2024-05-14 23:07:08 +04:00

22 lines
711 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TaskTrackerContracts.BindingModels;
using TaskTrackerContracts.SearchModels;
using TaskTrackerContracts.ViewModels;
namespace TaskTrackerContracts.StoragesContracts
{
public interface IDirectionStorage
{
List<DirectionViewModel> GetFullList();
List<DirectionViewModel> GetFilteredList(DirectionSearchModel model);
DirectionViewModel? GetElement(DirectionSearchModel model);
DirectionViewModel? Insert(DirectionBindingModel model);
DirectionViewModel? Update(DirectionBindingModel model);
DirectionViewModel? Delete(DirectionBindingModel model);
}
}