public bool GetByCC() { bool res = false; res = CoachDAL.GetByCC(this); return(res); }
public bool Delete() { bool res = false; res = CoachDAL.Delete(this); return(res); }
public static void CreateTables() { ClassDAL.CreateTable(); ClientDAL.CreateTable(); CoachDAL.CreateTable(); RegistrationDAL.CreateTable(); RoomDAL.CreateTable(); }
public bool Create() { bool res = false; if (!CoachDAL.GetByCC(this)) { res = CoachDAL.Create(this); } return(res); }
public bool CheckClass(long id) { bool res = CoachDAL.CheckClass(id); return(res); }
public static ObservableCollection <Coach> GetByCC1(long CC) { return(CoachDAL.GetByCC1(CC)); }
public static ObservableCollection <Coach> GetAll() { return(CoachDAL.GetAll()); }
public bool Update() { return(CoachDAL.Update(this)); }