예제 #1
0
 public PayListFormPresenter(PayListForm view)
 {
     this.view      = view;
     payTypeService = new PayTypeService();
     accountService = new AccountService();
     init();
 }
예제 #2
0
        public ActionResult GetPayTypeData()
        {
            var payTypeList = PayTypeService.LoadEntities(p => true);
            var temp        = from p in payTypeList
                              select new
            {
                id   = p.Id,
                text = p.PayTypeName
            };

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