Beispiel #1
0
        public async Task <IActionResult> DeleteDatasetAsync(int id)
        {
            await _customDatasetService.RemoveDatasetAsync(id);

            return(Ok());
        }
        public void RemoveDatasetAsync_ExistingId_NoException()
        {
            var ex = Record.ExceptionAsync(() => _customDatasetService.RemoveDatasetAsync(1));

            Assert.Null(ex.Result);
        }