/// <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 create the default db context /// </summary> public MyWorkoutsController() : base() { 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 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 FavoriteWorkoutsController() : base() { db = this.getDB(); userAccess = new UserAccess(db); pageSize = PAGE_SIZE; }
/// <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); }
public UserAccess(masterEntities db) { this.db = db; }
/// <summary> /// Constructor to create the default db context /// </summary> public AdminExercisesController() : base() { db = this.getDB(); pageSize = PAGE_SIZE; }
/// <summary> /// Constructor to create the default db context /// </summary> public WorkoutRatingController() : 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); }
/// <summary> /// Constructs a new db instance /// </summary> public GoFitBaseController() { db = new masterEntities(); }
/// <summary> /// Sets the db to the given context /// For testing /// </summary> /// <param name="context">The context to set the db to</param> public GoFitBaseController(masterEntities context) { db = context; }
/// <summary> /// Constructor to create the default db context /// </summary> public AdminCommentsController() : base() { db = this.getDB(); pageSize = PAGE_SIZE; }
/// <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 CommentsController() : 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> /// Constructs a recommender with the given db context /// </summary> /// <param name="context"></param> public Recommender(masterEntities context) { db = context; }
/// <summary> /// Constructor to create the default db context /// </summary> public MyAccountController() { db = new masterEntities(); }
/// <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> /// Parameterized constructor that takes a db context as the parameter /// </summary> /// <param name="context">The db context to use</param> public MyAccountController(masterEntities context) { db = context; }
/// <summary> /// Override to allow passing of db for controller construction /// </summary> /// <param name="context">The db to use</param> public AdminExercisesController(masterEntities context) : base(context) { db = this.getDB(); pageSize = PAGE_SIZE; }
/// <summary> /// Constructor to create the default db context /// </summary> public AdminCategoriesController() : base() { db = this.getDB(); pageSize = PAGE_SIZE; }