public async Task Create(ConversationDataContract conversation) { await conversationService.CreateAsync(new ConversationDto() { ConversationId = conversation.Id, Message = conversation.Message, Date = conversation.Date }); }
public async Task Create(ConversationDataContract conversation) { await conversationService.CreateAsync(mapper.Map <ConversationDto>(conversation)); }