public async Task CreateNew(Book data) { if (data == null) { throw new ArgumentNullException(nameof(data)); } await _context.AddAsync(data); }
public async Task CreateNew(Book data) { if (data == null) { throw new ArgumentNullException(nameof(data)); } await _context.AddAsync(data); }