public ActionResult ItemList() { var model = new ItemModel(); var list = model.GetItemDatas(); model.AddLimitAlarts(list); return(View(list)); }
public ActionResult ItemList(string userID, string column, string keyword, string searchType, bool searchStatus, string searchU, string sortColumn, string sortType) { var list = new List <ItemModel>(); var model = new ItemModel(); list = model.search(userID, column, keyword, searchType, searchStatus, searchU, sortColumn, sortType); model.AddLimitAlarts(list); return(View(list)); }