2023-04-04 14:01:40 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using UniversityContracts.BindingModels;
|
2023-04-07 17:34:20 +04:00
|
|
|
|
using UniversityContracts.SearchModels;
|
|
|
|
|
using UniversityContracts.ViewModels;
|
2023-04-04 14:01:40 +04:00
|
|
|
|
|
|
|
|
|
namespace UniversityContracts.BusinessLogicContracts
|
|
|
|
|
{
|
2023-04-04 14:08:56 +04:00
|
|
|
|
public interface IStudentLogic
|
2023-04-04 14:01:40 +04:00
|
|
|
|
{
|
|
|
|
|
bool Create(StudentBindingModel model);
|
|
|
|
|
bool Update(StudentBindingModel model);
|
|
|
|
|
bool Delete(StudentBindingModel model);
|
|
|
|
|
List<StudentViewModel>? ReadList(StudentSearchModel? model);
|
|
|
|
|
StudentViewModel? ReadElement(StudentSearchModel model);
|
2023-05-17 16:47:38 +04:00
|
|
|
|
public int GetNumberOfPages(int userId, int pageSize = 10);
|
|
|
|
|
}
|
2023-04-04 14:01:40 +04:00
|
|
|
|
}
|