Пример #1
0
 public ActionResult DeleteUser(UserModel userModel)
 {
     LoadStaticStatusData();
     DBProcessor.Delete("Users", userModel.Id.ToString());
     return(View());
 }
Пример #2
0
 public ActionResult DeleteOrder(OrderModel orderModel)
 {
     LoadStaticStatusData();
     DBProcessor.Delete("Orders", orderModel.Id.ToString());
     return(View());
 }