21 lines
614 B
C#
21 lines
614 B
C#
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.BusinessLogicsContracts
|
|
{
|
|
public interface IWorkerLogic
|
|
{
|
|
List<WorkerViewModel>? ReadList(WorkerSearchModel? model);
|
|
WorkerViewModel? ReadElement(WorkerSearchModel model);
|
|
bool Create(WorkerBindingModel model);
|
|
bool Update(WorkerBindingModel model);
|
|
bool Delete(WorkerBindingModel model);
|
|
}
|
|
}
|