Esempio n. 1
0
 public ActionResult Delete(List <string> devices)
 {
     try
     {
         devicetypeService.DeleteDeviceType(devices.ToArray());
         devicetypeService.SaveDeviceType();
         return(Json(new { Result = "Success" }));
     }
     catch (Exception)
     {
         return(Json(new { Result = "Failure" }));
     }
 }