/// <summary> /// Creates Command /// </summary> /// <param name="command"></param> /// <param name="cancellationToken"></param> /// <returns>Void</returns> public async Task CreateCommand(Command command, CancellationToken cancellationToken) { if (command == null) { throw new ArgumentNullException(nameof(command)); } await _context.AddAsync(command, cancellationToken); _ = await SaveChanges(cancellationToken); }