public Task <Boolean> CreateChat(CChatData chatData, Guid creatorId, List <Guid> participantsId) { _logger.LogInfo($"Supplier method '{nameof(CreateChat)}({chatData}, {creatorId}, {participantsId})' is called"); CNewChatDto chatDto = new CNewChatDto(chatData.Title, chatData.IsPersonal, (Int32)chatData.Type, creatorId, participantsId); return(Task.Run <Boolean>(() => _service.CreateChat(chatDto))); }
public COpenChatCommandArgs(CChatData chatData, Boolean isSelected) { ChatData = chatData; IsSelected = isSelected; }