public IServiceResultWrap SaveAllElectronicChannelChanges([FromBody] VmElectronicChannel model) { return(serviceManager.CallService( () => new ServiceLocalizedResultWrap(model) { Data = channelService.AddElectronicChannel(model) }, new Dictionary <Type, string>() { { typeof(string), MessageAddElectronicChannel }, { typeof(PtvArgumentException), MessageArgumentException }, { typeof(RoleActionException), MessageAddChannelRole } } )); }