public IServiceResultWrap SaveAllWebPageChannelChanges([FromBody] VmWebPageChannel model) { return(serviceManager.CallService( () => new ServiceLocalizedResultWrap(model) { Data = channelService.AddWebPageChannel(model) }, new Dictionary <Type, string>() { { typeof(string), MessageAddWebPageChannel }, { typeof(PtvArgumentException), MessageArgumentException }, { typeof(RoleActionException), MessageAddChannelRole } } )); }