public ActionResult Index(EmployeeQM model)
        {
            var list = this.iEmployeeService.GetListModel <EmployeeLM, EmployeeQM>(model);

            if (Request.IsAjaxRequest())
            {
                return(PartialView("Grid", list));
            }
            else
            {
                BindData();
            }

            return(View(list));
        }
        public ActionResult Index(EmployeeQM model)
        {
            var empInfo = iEmployeeService.Get(currentUser.ID);

            model.MerchantID = empInfo.MerchantID;

            var list = this.iEmployeeService.GetListModel <EmployeeLM, EmployeeQM>(model);

            BindData();

            if (Request.IsAjaxRequest())
            {
                return(PartialView("Grid", list));
            }

            return(View(list));
        }