/// <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;
 }
예제 #3
0
 /// <summary>
 /// Constructor to create the default db context
 /// </summary>
 public MyWorkoutsController()
     : base()
 {
     pageSize = PAGE_SIZE;
     db = this.getDB();
     userAccess = new UserAccess(db);
 }
예제 #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);
 }
예제 #7
0
 /// <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);
 }
예제 #8
0
 /// <summary>
 /// Constructor to create the default db context
 /// </summary>
 public ExerciseController()
     : base()
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
 }
예제 #9
0
 public AdminHomeController()
     : base()
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
 }
예제 #10
0
 /// <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);
 }
예제 #11
0
 /// <summary>
 /// Constructor to create the default db context
 /// </summary>
 public CommentsController()
     : base()
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
 }
예제 #12
0
 public MyProfileController(masterEntities context)
     : base(context)
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
 }
예제 #13
0
 public MyProfileController()
     : base()
 {
     db = this.getDB();
     userAccess = new UserAccess(db);
 }