17 lines
669 B
C#
17 lines
669 B
C#
using LawCompanyContracts.BindingModels;
|
|
using LawCompanyDataModels.Models;
|
|
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);
|
|
}
|
|
} |