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