public async System.Threading.Tasks.Task Handle(AddInstantMessageCommand command) { var @instantMessage = new InstantMessage(command.From, command.MessageText, command.To) { ConferenceId = command.ConferenceId }; await _context.AddAsync(@instantMessage); await _context.SaveChangesAsync(); }