Cake.Web.Controllers.BlogController.Details C# (CSharp) Метод

Details() публичный Метод

public Details ( int year, int month, string slug ) : System.Web.Mvc.ActionResult
year int
month int
slug string
Результат System.Web.Mvc.ActionResult
        public ActionResult Details(int year, int month, string slug)
        {
            var post = _index.GetBlogPost(year, month, slug);
            if (post == null)
            {
                return new HttpNotFoundResult();
            }

            return View(new BlogPostViewModel(post, _index.GetCategories(), _index.GetArchive(), _index.GetAuthors()));
        }