SUBD-Petrushin-Egor-PIbd-22/TaskTrackerContracts/StoragesContracts/IResultStorage.cs

22 lines
681 B
C#
Raw Normal View History

2024-05-13 16:21:24 +04:00
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 IResultStorage
{
2024-05-14 23:07:08 +04:00
List<ResultViewModel> GetFullList();
List<ResultViewModel> GetFilteredList(ResultSearchModel model);
ResultViewModel? GetElement(ResultSearchModel model);
ResultViewModel? Insert(ResultBindingModel model);
ResultViewModel? Update(ResultBindingModel model);
ResultViewModel? Delete(ResultBindingModel model);
2024-05-13 16:21:24 +04:00
}
}