예제 #1
0
        // GET: Emp
        public ActionResult Index()
        {
            var result = EmpService.GetAllEmp();

            if (result.Result == "1")
            {
                var model = result.ReturnList;
                return(View(model));
            }
            return(View());
        }