public static THAMSO LoadThamSo() { //ThamSoDAO thamSoDAO = new ThamSoDAO(); THAMSO thamso = ThamSoDAO.LoadThamSo(); return(thamso); }
public static bool CapNhatTSDonGia(ThamSoDTO ts, string t) { if (ts.DonGia <= 0) { return(false); } return(ThamSoDAO.CapNhatTSDonGia(ts, t)); }
public static bool UpdateParameters(string exception = "") { if (ThamSoDTO.SoTienNoToiDa < 0 || ThamSoDTO.SoXeSuaChuaToiDa < 0) { exception = "Gía trị tham số không được phép nhỏ hơn 0"; return(false); } return(ThamSoDAO.UpdateParameters(exception)); }
public static ThamSoDTO SelectThamSoById(string MaThamSo) { return(ThamSoDAO.SelectThamSoById(MaThamSo)); }
public static List <ThamSoDTO> SelectThamSoAll() { return(ThamSoDAO.SelectThamSoAll()); }
public static void UpdateThamSo(int tuoiToiThieu, int tuoiToiDa, int thoiHanGiaTriThe, int khoangCachNXBToiDa, int soLuongSachMuonToiDa, int soNgayMuonToiDa, double tienPhat) { ThamSoDAO.UpdateThamSo(tuoiToiThieu, tuoiToiDa, thoiHanGiaTriThe, khoangCachNXBToiDa, soLuongSachMuonToiDa, soNgayMuonToiDa, tienPhat); }
public static int GetSoLuongSachDuocMuon() { return(ThamSoDAO.LoadThamSo().SoLuongSachMuonToiDa); }
public static List <ThamSoDTO> LoadHeSo() { return(ThamSoDAO.LoadHeSo()); }
public static bool DeleteThamSoById(string maThamSo) { return(ThamSoDAO.DeleteThamSoById(maThamSo)); }
public static List <ThamSoDTO> LoadDonGia(string text) { return(ThamSoDAO.LoadDonGia(text)); }
public static List <ThamSoDTO> LayThongTinTS() { return(ThamSoDAO.LayThongTinTS()); }
public static bool CapNhatTSPhuThu(ThamSoDTO infor) { return(ThamSoDAO.CapNhatTSPhuThu(infor)); }
public static bool CapNhatTSHeSo(ThamSoDTO infor) { return(ThamSoDAO.CapNhatTSHeSo(infor)); }
public static bool CapNhatTSSoKhachToiDa(ThamSoDTO infor) { return(ThamSoDAO.CapNhatTSSoKhachToiDa(infor)); }
public static List <ThamSoDTO> LoadPhuThu() { return(ThamSoDAO.LoadPhuThu()); }
public static bool InsertThamSo(ThamSoDTO thamSoDTO) { return(ThamSoDAO.InsertThamSo(thamSoDTO)); }
public static bool UpdateThamSoById(ThamSoDTO thamSoDTO) { return(ThamSoDAO.UpdateThamSoById(thamSoDTO)); }
public static bool GetParameters(string exception = "") { return(ThamSoDAO.GetParameters(exception)); }
public static string CreateThamSoId() { return(ThamSoDAO.CreateThamSoId()); }
public static List <ThamSoDTO> LoadSoLuongKhach() { return(ThamSoDAO.LoadSoLuongKhach()); }