public async Task <Check> CreateAsync(Check newData) { if (newData == null) { throw new ArgumentNullException(nameof(newData)); } await _checkRepository.AddAsync(newData); return(newData); }
public async Task <Check> CreateAsync(Check newData) { if (newData == null) { throw new ArgumentNullException(nameof(newData)); } await _checkRepository.AddAsync(newData); return(newData); }