Exemplo n.º 1
0
        public bool GetByCC()
        {
            bool res = false;

            res = CoachDAL.GetByCC(this);
            return(res);
        }
Exemplo n.º 2
0
        public bool Delete()
        {
            bool res = false;

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

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

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