示例#1
0
        public JsonResult GetEmployeeList()
        {
            List <clsEmployee> listEmployee = new List <clsEmployee>();;

            GetStoreId();
            listEmployee = objDal.GetEmployeeList(StoreId);

            var Result = new
            {
                page    = 1,
                records = listEmployee.Count(),
                rows    = listEmployee,
                total   = 1
            };

            return(Json(Result, JsonRequestBehavior.AllowGet));
        }