22 lines
715 B
C#
22 lines
715 B
C#
|
using SchoolAgainStudyContracts.BindingModel;
|
|||
|
using SchoolAgainStudyContracts.SearchModel;
|
|||
|
using SchoolAgainStudyContracts.ViewModel;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace SchoolAgainStudyContracts.StorageContracts
|
|||
|
{
|
|||
|
public interface ILessonStorage
|
|||
|
{
|
|||
|
List<LessonViewModel> GetFullList();
|
|||
|
List<LessonViewModel> GetFilteredList(LessonSearchModel model);
|
|||
|
LessonViewModel? GetElement(LessonSearchModel model);
|
|||
|
LessonViewModel? Insert(LessonBindingModel model);
|
|||
|
LessonViewModel? Update(LessonBindingModel model);
|
|||
|
LessonViewModel? Delete(LessonBindingModel model);
|
|||
|
}
|
|||
|
}
|