public ActionResult Create() { ViewData["SelectedListForTypeOfOffer"] = new SelectedListHelpers().GetSelectedList(_iTypeOfOffer.Get()); ViewData["SelectedListForProblem"] = new SelectedListHelpers().GetSelectedList(_iProblem.Get()); //ViewData["SelectedListForStatus"] = new SelectedListHelpers().GetSelectedList(_iStatus.Get()); ViewData["SelectedListForDirection"] = new SelectedListHelpers().GetSelectedList(_iDirection.Get()); return(View()); }
public ActionResult Index(int?page) { return(View(db.Get().ToPagedList(page ?? 1, 10))); }