// GET: ProductGroup
        public ActionResult Index(string searchColumn, string searchQuery)
        {
            try
            {
                LogHandler.WriteLog("Purchase Index page requested by #UserId");

                var qList = productgroupRepository.GetAllProductGroup();   //GetUserId();

                ProductGroupViewModels model = new ProductGroupViewModels();
                model.ProductGroupList = qList;

                return(View(model));
            }
            catch (Exception ex)
            {
                ExceptionHandler.LogException(ex);
                ViewBag.AppErrorMessage = ex.Message;
                return(View("Error"));
            }
        }