Exemplo n.º 1
0
        public bool DeleteProgram(string ProgramCode)
        {
            bool Success;
            NAITProgramController ProgramManager = new NAITProgramController();

            Success = ProgramManager.DeleteProgram(ProgramCode);
            return(Success);
        }
Exemplo n.º 2
0
        public bool UpdateProgramDescription(NAITProgram SelectedProgram)
        {
            bool Success;
            NAITProgramController ProgramManager = new NAITProgramController();

            Success = ProgramManager.UpdateProgram(SelectedProgram);
            return(Success);
        }
Exemplo n.º 3
0
        public NAITProgram FindProgram(string ProgramCode)
        {
            NAITProgram           SearchedProgram;
            NAITProgramController ProgramManager = new NAITProgramController();

            SearchedProgram = ProgramManager.GetProgram(ProgramCode);
            return(SearchedProgram);
        }
Exemplo n.º 4
0
        public bool CreateProgram(string ProgramCode, string Description)
        {
            bool Confirmation;
            NAITProgramController ProgramManager = new NAITProgramController();

            Confirmation = ProgramManager.AddProgram(ProgramCode, Description);
            return(Confirmation);
        }
Exemplo n.º 5
0
        public List <NAITProgram> FindPrograms()
        {
            List <NAITProgram>    ProgramsList;
            NAITProgramController ProgramManager = new NAITProgramController();

            ProgramsList = ProgramManager.GetPrograms();

            return(ProgramsList);
        }