2023-04-08 13:59:34 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using UniversityContracts.BindingModels;
|
|
|
|
|
using UniversityContracts.SearchModels;
|
|
|
|
|
using UniversityContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace UniversityContracts.BusinessLogicContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IStreamLogic
|
|
|
|
|
{
|
|
|
|
|
bool Create(StreamBindingModel model);
|
|
|
|
|
bool Update(StreamBindingModel model);
|
|
|
|
|
bool Delete(StreamBindingModel model);
|
|
|
|
|
List<StreamViewModel>? ReadList(StreamSearchModel? model);
|
|
|
|
|
StreamViewModel? ReadElement(StreamSearchModel model);
|
2023-05-19 21:25:56 +04:00
|
|
|
|
int GetNumberOfPages(int userId, int pageSize = 10);
|
2023-04-08 13:59:34 +04:00
|
|
|
|
}
|
|
|
|
|
}
|