Пример #1
0
        public bool GetByCC()
        {
            bool res = false;

            res = CoachDAL.GetByCC(this);
            return(res);
        }
Пример #2
0
        public bool Delete()
        {
            bool res = false;

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

            if (!CoachDAL.GetByCC(this))
            {
                res = CoachDAL.Create(this);
            }
            return(res);
        }
Пример #5
0
        public bool CheckClass(long id)
        {
            bool res = CoachDAL.CheckClass(id);

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