Exemple #1
0
 public IServiceResultWrap SaveAllLocationChannelChanges([FromBody] VmLocationChannel model)
 {
     return(serviceManager.CallService(
                () => new ServiceLocalizedResultWrap(model)
     {
         Data = channelService.AddLocationChannel(model)
     },
                new Dictionary <Type, string>()
     {
         { typeof(string), MessageAddLocationChannel },
         { typeof(PtvArgumentException), MessageArgumentException },
         { typeof(RoleActionException), MessageAddChannelRole }
     }));
 }