Beispiel #1
0
 public ActionResult CreateCustom(long id)
 {
     try
     {
         _repository.CreateCustomDeviceType(id, GetUserId());
         return(RedirectToAction("Index"));
     }
     catch (Exception e)
     {
         ExceptionMessageToViewBag(e);
         return(View("Error"));
     }
 }