public async Task MoviesApiDeleteAsync() { var result = await _moviesController.DeleteMovieDto(-1); var noContentResult = Assert.IsType <OkObjectResult>(result); Assert.Equal(200, noContentResult.StatusCode); }
public async Task MoviesApiDeleteAsync() { var result = await _moviesController.DeleteMovieDto(-1); var noContentResult = Assert.IsType <OkObjectResult>(result); Assert.Equal(200, noContentResult.StatusCode); }