public GetPeopleRelationAmountsHandler(IUnitOfPersonRegister unit) => this.unit = unit;
public UpdatePersonHandler(IUnitOfPersonRegister unit, IMapper mapper) => (this.unit, this.mapper) = (unit, mapper);
public DeleteRelatedPersonHandler(IUnitOfPersonRegister unit) => this.unit = unit;
public AddRelatedPersonCommand(IUnitOfPersonRegister unit) => this.unit = unit;
public AddNewRelatedPersonHandler(IUnitOfPersonRegister unit, IMapper mapper) => (this.unit, this.mapper) = (unit, mapper);
public GetPersonByIdHandler(IUnitOfPersonRegister unit, IMapper mapper) => (this.unit, this.mapper) = (unit, mapper);
public UploadPhotoHandler(IFileService fileService, IUnitOfPersonRegister unit) => (this.fileService, this.unit) = (fileService, unit);