/// <summary>
 /// Constructor to create the default db context
 /// </summary>
 public FavoriteWorkoutsController()
     : base()
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
     pageSize = PAGE_SIZE;
 }
 /// <summary>
 /// Constructor to allow a passed in db context
 /// </summary>
 /// <param name="context">The context to use</param>
 public FavoriteWorkoutsController(masterEntities context)
     : base(context)
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
     pageSize = PAGE_SIZE;
 }
 /// <summary>
 /// Constructor to create the default db context
 /// </summary>
 public MyWorkoutsController()
     : base()
 {
     pageSize = PAGE_SIZE;
     db = this.getDB();
     userAccess = new UserAccess(db);
 }
Beispiel #4
0
 /// <summary>
 /// Constructor to allow a passed in db context
 /// </summary>
 /// <param name="context">The context to use</param>
 public HomeController(masterEntities context)
     : base(context)
 {
     pageSize = PAGE_SIZE;
     db = this.getDB();
     userAccess = new UserAccess(db);
 }
 /// <summary>
 /// Constructor to allow a passed in db context
 /// </summary>
 /// <param name="context">The context to use</param>
 public WorkoutRatingController(masterEntities context)
     : base(context)
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
 }
 /// <summary>
 /// Constructor to create the default db context
 /// </summary>
 public WorkoutRatingController()
     : base()
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
 }
 /// <summary>
 /// Constructor to allow a passed in db context
 /// </summary>
 /// <param name="context">The context to use</param>
 public ExerciseController(masterEntities context)
 {
     db = context;
     userAccess = new UserAccess(db);
 }
 /// <summary>
 /// Constructor to create the default db context
 /// </summary>
 public ExerciseController()
     : base()
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
 }
 public AdminHomeController()
     : base()
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
 }
 /// <summary>
 /// Constructor to allow a passed in db context
 /// </summary>
 /// <param name="context">The context to use</param>
 public CommentsController(masterEntities context)
     : base(context)
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
 }
 /// <summary>
 /// Constructor to create the default db context
 /// </summary>
 public CommentsController()
     : base()
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
 }
 public MyProfileController(masterEntities context)
     : base(context)
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
 }
 public MyProfileController()
     : base()
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
 }