Exemple #1
0
        public IActionResult AdItemList(int moduleId, int page = 1, int size = 20, string keyword = null, bool?status = null)
        {
            var model = new AdItemListModel();

            model.Keyword  = keyword;
            model.ModuleId = moduleId;
            model.Module   = DefaultStorage.AdModuleGet(moduleId);
            model.Items    = DefaultStorage.AdItemPagedList(moduleId, page, size, keyword, status);
            return(View(model));
        }