SUBD_SchoolSchedule/SchoolSchedule/SchoolScheduleContracts/StoragesContracts/ISubjectStorage.cs

22 lines
678 B
C#
Raw Normal View History

2024-04-08 14:40:49 +04:00
using SchoolScheduleContracts.BindingModels;
using SchoolScheduleContracts.SearchModels;
using SchoolScheduleContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SchoolScheduleContracts.StoragesContracts
{
public interface ISubjectStorage
{
List<SubjectViewModel> GetFullList();
List<SubjectViewModel> GetFilteredList(SubjectSearchModel model);
SubjectViewModel? GetElement(SubjectSearchModel model);
SubjectViewModel? Insert(SubjectBindingModel model);
SubjectViewModel? Update(SubjectBindingModel model);
SubjectViewModel? Delete(SubjectBindingModel model);
}
}