예제 #1
0
        public JsonResult GetListLoaiTaikhoan()
        {
            var dao    = new LoaiTaiKhoanDAO();
            var result = dao.GetListLoaiTK();

            return(Json(result, JsonRequestBehavior.AllowGet));
        }
예제 #2
0
        public void getallTypeUser(long?selectedId = null)
        {
            var dao = new LoaiTaiKhoanDAO();

            ViewBag.IDLOAITAIKHOAN = new SelectList(dao.GetListLoaiTK(), "IDLOAITAIKHOAN", "TENLOAITAIKHOAN", selectedId);
        }