public async Task <ActionResult <EmployeeDetailVm> > GetByUserId(Guid id) { try { return(await ReturnByOutputAsync(id, (o) => _employeeAppService.GetByUserIdAsync(o))); } catch (Exception ex) { return(BadRequest(LogError(_logger, ex))); } }