public async Task <ActionResult> Delete(string id, string personId) { var personGuid = Guid.Parse(Request["personId"]); await FaceClient.DeletePersonAsync(id, personGuid); return(RedirectToAction("Index", new { id = id })); }
public async Task <ActionResult> Delete(string id, Guid personId) { ViewBag.PersonGroupId = id; await FaceClient.DeletePersonAsync(id, personId); return(RedirectToAction("Index", new { id = id })); }