22 lines
679 B
C#
22 lines
679 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 IDiyStorage
|
|
{
|
|
List<DiyViewModel> GetFullList();
|
|
List<DiyViewModel> GetFilteredList(DiySearchModel model);
|
|
DiyViewModel? GetElement(DiySearchModel model);
|
|
DiyViewModel? Insert(DiyBindingModel model);
|
|
DiyViewModel? Update(DiyBindingModel model);
|
|
DiyViewModel? Delete(DiyBindingModel model);
|
|
}
|
|
}
|