CourseWork/University/UniversityContracts/StorageContracts/IPlanOfStudyStorage.cs
2024-04-18 19:35:33 +04:00

22 lines
753 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UniversityContracts.BindingModel;
using UniversityContracts.SearchModels;
using UniversityContracts.ViewModels;
namespace UniversityContracts.StorageContracts
{
public interface IPlanOfStudyStorage
{
List<PlanOfStudyViewModel> GetFullList();
List<PlanOfStudyViewModel> GetFilteredList(PlanOfStudySearchModel model);
PlanOfStudyViewModel? GetElement(PlanOfStudySearchModel model);
PlanOfStudyViewModel? Insert(PlanOfStudyBindingModel model);
PlanOfStudyViewModel? Update(PlanOfStudyBindingModel model);
PlanOfStudyViewModel? Delete(PlanOfStudyBindingModel model);
}
}