Esempio n. 1
0
 public static Channel ConvertToChannel(ChannelCrDto channelDto)
 {
     return(new Channel
     {
         channe_description = channelDto.Description,
         channel_name = channelDto.Name
     });
 }
Esempio n. 2
0
 public CrResult <ChannelRoleDto> CreateChannel(ChannelCrDto channelDto)
 {
     return(new ChannelManager().CreateChannel(channelDto, GetUser().user_id));
 }