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