SUBD-Petrushin-Egor-PIbd-22/TaskTrackerContracts/BusinessLogicsContracts/ISubjectLogic.cs
2024-05-13 16:21:24 +04:00

25 lines
630 B
C#

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.BusinessLogicsContracts
{
public interface ISubjectLogic
{
List<SubjectViewModel>? ReadList(SubjectSearchModel? model);
SubjectViewModel? ReadElement(SubjectSearchModel model);
bool Create(SubjectBindingModel model);
bool Update(SubjectBindingModel model);
bool Delete(SubjectBindingModel model);
}
}