Example #1
0
		public async Task<ActionResult> Tagged(string blogName, string option, int start = 0)
		{
			option = option.Replace("+", " ");
			var model = new BlogModel(blogName, start, tag: option);
			await model.PopulateModel(Request, Response);
			return View("Index", model);
		}
Example #2
0
		public async Task<ActionResult> Type(string blogName, PostType option, int start = 0)
		{
			var model = new BlogModel(blogName, start, type: option);
			await model.PopulateModel(Request, Response);
			return View("Index", model);
		}
Example #3
0
		//
		// GET: /Home/

		public async Task<ActionResult> Index(string blogName, int start = 0)
		{
			var model = new BlogModel(blogName, start);
			await model.PopulateModel(Request, Response);
			return View(model);
		}