public IActionResult Delete(string id, AspNetUsersViewModel model) { var user = new AspNetUsers(); user.Id = model.Id; try { _apiCalls.DeleteUserApiCall(user, id); } catch (Exception) { throw; } return(RedirectToAction("Index")); }