Esempio n. 1
0
 public IServiceResultWrap SaveAllPrintableFormChannelChanges([FromBody] VmPrintableFormChannel model)
 {
     return(serviceManager.CallService(
                () => new ServiceLocalizedResultWrap(model)
     {
         Data = channelService.AddPrintableFormChannel(model)
     },
                new Dictionary <Type, string>()
     {
         { typeof(string), MessageAddPrintableFormChannel },
         { typeof(PtvArgumentException), MessageArgumentException },
         { typeof(RoleActionException), MessageAddChannelRole }
     }
                ));
 }