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
|
|
|
|
|
{
|
|
|
|
|
public interface IDocumentLogic
|
|
|
|
|
{
|
|
|
|
|
bool Create(DocumentBindingModel model);
|
|
|
|
|
bool Update(DocumentBindingModel model);
|
|
|
|
|
bool Delete(DocumentBindingModel model);
|
|
|
|
|
List<DocumentViewModel>? ReadList(DocumentSearchModel? model);
|
|
|
|
|
DocumentViewModel? ReadElement(DocumentSearchModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|