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