17 lines
624 B
C#
17 lines
624 B
C#
using LawCompanyDataModels.Models;
|
|
using LawCompanyContracts.BindingModels;
|
|
using LawCompanyContracts.SearchModels;
|
|
using LawCompanyContracts.ViewModels;
|
|
|
|
namespace LawCompanyContracts.BusinessLogicContracts
|
|
{
|
|
public interface IConsultationLogic
|
|
{
|
|
List<ConsultationViewModel>? ReadList(ConsultationSearchModel? model);
|
|
ConsultationViewModel? ReadElement(ConsultationSearchModel model);
|
|
bool Create(ConsultationBindingModel model);
|
|
bool Update(ConsultationBindingModel model);
|
|
bool Delete(ConsultationBindingModel model);
|
|
bool AddLawyerToConsultation(ConsultationSearchModel model, ILawyerModel lawyer);
|
|
}
|
|
} |