public JsonResult GetListLoaiTaikhoan() { var dao = new LoaiTaiKhoanDAO(); var result = dao.GetListLoaiTK(); return(Json(result, JsonRequestBehavior.AllowGet)); }
public void getallTypeUser(long?selectedId = null) { var dao = new LoaiTaiKhoanDAO(); ViewBag.IDLOAITAIKHOAN = new SelectList(dao.GetListLoaiTK(), "IDLOAITAIKHOAN", "TENLOAITAIKHOAN", selectedId); }