public async Task <ActionResult <ResponseData> > Quit(Guid id) { try { var result = await _groupAppService.QuitAsync(new GroupInput { Id = id, CurrentUserId = GetUserId(), CurrentEmployeeId = GetEmployeeId(), CurrentEmployeeName = GetUserFullName(), }); if (result.IsSuccess) { return(BuildSuccess()); } return(BuildFaild()); } catch (Exception ex) { return(BadRequest(LogError(_logger, ex))); } }