Пример #1
0
        public void DeleteAsync_ReturnsRedirect_Always()
        {
            const string id = "1";

            var result = _commentController.DeleteAsync(id).Result;

            result.Should().BeRedirectToActionResult();
        }