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