Пример #1
0
        /// <summary>
        /// returns inactive stores
        /// </summary>
        /// <param name="pageIndex"></param>
        /// <returns></returns>
        public ActionResult Inactive(int pageIndex)
        {
            var query  = new StoresQueryRequest(pageIndex, PageSize);
            var stores = _storeQueryService.GetInactiveStores(query);

            return(View("Inactive", stores));
        }
Пример #2
0
        /// <summary>
        /// returns inactive stores
        /// </summary>
        /// <param name="keyword"></param>
        /// <returns></returns>
        public ActionResult Inactive(string keyword)
        {
            var query  = new StoresQueryRequest(keyword);
            var stores = _storeQueryService.GetInactiveStores(query);

            return(View(stores));
        }