Пример #1
0
 public dynamic Chrometise(dynamic parameters, bool newChrometiser)
 {
     try
     {
         var controllerService = new ChrometiseControllerService(parameters, newChrometiser);
         var model             = controllerService.GetChrometiseModel();
         return(_routes.View["Views/Chrometise.cshtml", model]);
     }
     catch (ChromesthesiaException e)
     {
         return(e.DefaultModel);
     }
 }
Пример #2
0
 public dynamic Chrometise(dynamic parameters, bool newChrometiser)
 {
     try
     {
         var controllerService = new ChrometiseControllerService(parameters, newChrometiser);
         var model = controllerService.GetChrometiseModel();
         return _routes.View["Views/Chrometise.cshtml", model];
     }
     catch (ChromesthesiaException e)
     {
         return e.DefaultModel;
     }
 }