public async Task <IActionResult> DeleteValueAsync(int id) { await _customDatasetService.RemoveValueByIdAsync(id); return(Ok()); }
public void RemoveValueByIdAsync_ExistingId_NoException() { var ex = Record.ExceptionAsync(() => _customDatasetService.RemoveValueByIdAsync(1)); Assert.Null(ex.Result); }