public async Task <ActionResult> Delete(string contactBankAccountGuid) { if (string.IsNullOrEmpty(contactBankAccountGuid)) { return(new BadRequestResult()); } try { var user = HttpContext.User; var serviceGroupGuid = await UserIdentitInfo.GetUserServiceGroup(user.FindFirstValue(ClaimTypes.NameIdentifier)); await ContactInfo.ContactBankAccountDel(contactBankAccountGuid, serviceGroupGuid); return(new OkResult()); } catch (Exception e) { return(new StatusCodeResult(500)); } }