Exemple #1
0
        public bool GetByCC()
        {
            bool res = false;

            res = CoachDAL.GetByCC(this);
            return(res);
        }
Exemple #2
0
        public bool Delete()
        {
            bool res = false;

            res = CoachDAL.Delete(this);
            return(res);
        }
Exemple #3
0
 public static void CreateTables()
 {
     ClassDAL.CreateTable();
     ClientDAL.CreateTable();
     CoachDAL.CreateTable();
     RegistrationDAL.CreateTable();
     RoomDAL.CreateTable();
 }
Exemple #4
0
        public bool Create()
        {
            bool res = false;

            if (!CoachDAL.GetByCC(this))
            {
                res = CoachDAL.Create(this);
            }
            return(res);
        }
Exemple #5
0
        public bool CheckClass(long id)
        {
            bool res = CoachDAL.CheckClass(id);

            return(res);
        }
Exemple #6
0
 public static ObservableCollection <Coach> GetByCC1(long CC)
 {
     return(CoachDAL.GetByCC1(CC));
 }
Exemple #7
0
 public static ObservableCollection <Coach> GetAll()
 {
     return(CoachDAL.GetAll());
 }
Exemple #8
0
 public bool Update()
 {
     return(CoachDAL.Update(this));
 }