public bool DeleteSinhVien(string sbd) { ValueHoSoThiSinh obj = new ValueHoSoThiSinh(sbd); context.setState(new DeleteState()); return(context.doAction(obj)); }
public bool InsertNguyenVong(string sbd, string tenganh, string khoi, int nguyenvong) { NGUYENVONG obj = new NGUYENVONG(sbd, tenganh, khoi, nguyenvong); context.setState(new InsertState()); return(context.doAction(obj)); }
public bool InsertNganh(string manganh, string tennganh, int chitieu, double diemchuan) { NGANH obj = new NGANH(manganh, tennganh, chitieu, diemchuan); context.setState(new InsertState()); return(context.doAction(obj)); }
public bool Login(string userName, string passWord) { ACCOUNT obj = new ACCOUNT(userName, passWord); context.setState(new LoginState()); return(context.doAction(obj)); }
public bool InsertDoiTuong(int madoituong, string loaidoituong, double diemcongdtuong) { DOITUONG obj = new DOITUONG(madoituong, loaidoituong, diemcongdtuong); context.setState(new InsertState()); return(context.doAction(obj)); }
public bool InsertHoKhau(string tenhuyen, string tentinh, string tenkhuvuc) { HOKHAU obj = new HOKHAU(tenhuyen, tentinh, tenkhuvuc); context.setState(new InsertState()); return(context.doAction(obj)); }