Exemplo n.º 1
0
        public static bool DeleteEngineer(int EngineerId)
        {
            bool engineerDel;

            engineerDel = Engineers.DeleteEngineer(EngineerId);
            return(engineerDel);
        }
Exemplo n.º 2
0
 public static void UpdateEngineer(int EngineerId, string EngineerName, string EngineerPhone, string EngineerExt, string EngineerFax, string EngineerEmail)
 {
     Engineers.UpdateEngineer(EngineerId, EngineerName, EngineerPhone, EngineerExt, EngineerFax, EngineerEmail);
 }
Exemplo n.º 3
0
 public static DataSet LookupEngineer(int engineerId)
 {
     return(Engineers.LookupEngineer(engineerId));
 }
Exemplo n.º 4
0
        public static int AddEngineer(string EngineerName, string EngineerPhone, string EngineerExt, string EngineerFax, string EngineerEmail)
        {
            int engineerId = Engineers.AddEngineer(EngineerName, EngineerPhone, EngineerExt, EngineerFax, EngineerEmail);

            return(engineerId);
        }
Exemplo n.º 5
0
        //----------------------------------  Engineers -----------------------------

        public static DataSet LookupAllEngineers()
        {
            return(Engineers.LookupAllEngineers());
        }