public ActionResult Promotion(int page = 0) { var groupId = _photoEngine.GetPromotedGroupId(); var group = _photoEngine.GetGroup(groupId, page); ViewData["groupName"] = group.GroupName; ViewData[DataKeys.BreadCrumb] = "Today's group: " + ViewData["groupName"]; return(PagingView(group)); }
public ActionResult Group(string id, int page = 0) { var domainGroup = _photoEngine.GetGroup(id, page); ViewData["groupName"] = domainGroup.GroupName; ViewData[DataKeys.BreadCrumb] = ViewData["groupName"] + " group"; return(PagingView(domainGroup)); }