public ServiceResult<Professional> GetByDocument(int documentType, string document) { var getProfessional = _repository.GetByDocument(documentType, document); return new ServiceResult<Professional> { Success = true, Errors = new[] { string.Empty }, Result = getProfessional }; }