public static EMPLOYEE GetEMPLOYEEByID(int id) { EMPLOYEE eMPLOYEE = new EMPLOYEE(); SqlEMPLOYEEProvider sqlEMPLOYEEProvider = new SqlEMPLOYEEProvider(); eMPLOYEE = sqlEMPLOYEEProvider.GetEMPLOYEEByID(id); return(eMPLOYEE); }
public static List <EMPLOYEE> GetAllEMPLOYEEs() { List <EMPLOYEE> eMPLOYEEs = new List <EMPLOYEE>(); SqlEMPLOYEEProvider sqlEMPLOYEEProvider = new SqlEMPLOYEEProvider(); eMPLOYEEs = sqlEMPLOYEEProvider.GetAllEMPLOYEEs(); return(eMPLOYEEs); }
public static bool DeleteEMPLOYEE(int eMPLOYEEID) { SqlEMPLOYEEProvider sqlEMPLOYEEProvider = new SqlEMPLOYEEProvider(); return(sqlEMPLOYEEProvider.DeleteEMPLOYEE(eMPLOYEEID)); }
public static bool UpdateEMPLOYEE(EMPLOYEE eMPLOYEE) { SqlEMPLOYEEProvider sqlEMPLOYEEProvider = new SqlEMPLOYEEProvider(); return(sqlEMPLOYEEProvider.UpdateEMPLOYEE(eMPLOYEE)); }
public static int InsertEMPLOYEE(EMPLOYEE eMPLOYEE) { SqlEMPLOYEEProvider sqlEMPLOYEEProvider = new SqlEMPLOYEEProvider(); return(sqlEMPLOYEEProvider.InsertEMPLOYEE(eMPLOYEE)); }