public MapIdRepository() { _context = new ToDoListContext(); }
public ItemsController(UserManager <ApplicationUser> userManager, ToDoListContext db) { _userManager = userManager; _db = db; }
public ToDoTaskRepos(ToDoListContext context) : base(context) { _context = context; }
public EFGenericRepository(ToDoListContext context) { Guard.WhenArgument(context, "Context").IsNull().Throw(); this.Context = context; this.DbSet = context.Set <T>(); }
public ToDoListController(ILogger <ToDoListController> logger, ToDoListContext context) { _logger = logger; _context = context; }
public ToDoItemController(ToDoListContext context) { _context = context; }
public IndexController(ToDoListContext context) { _context = context; }
public EditReminderController(ToDoListContext context) { _context = context; }
public CommentRepos(ToDoListContext context) : base(context) { _context = context; }
public ClassificationRepository(ToDoListContext context) { this.db = context; }
public UserController(ToDoListContext context) { _context = context; }
public LabelRepository() { _db = new ToDoListContext(); }
public ClientManager(ToDoListContext db) { Database = db; }
public ItemRepository() { _context = new ToDoListContext(); }
public RelationshipRepository(ToDoListContext context) { this.db = context; }
public ToDoItemRepository(ToDoListContext context) : base(context) { }
public Repository(ToDoListContext dbContext) { this.dbContext = dbContext; }
private readonly ToDoListContext _db; // db comes from our dependencies - under the hood! // db is an instance of our DbContext class public ItemsController(ToDoListContext db) // new constuctor for our new field: _db { _db = db; }
public CategoriesController(ToDoListContext context) { _context = context; }
public MySqlDataService(ToDoListContext context) => _context = context;
public JointUserRepos(ToDoListContext context) : base(context) { _context = context; }
public AccountController(UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ToDoListContext db) { _userManager = userManager; _signInManager = signInManager; _db = db; }
public HomeController(ToDoListContext db) { _db = db; }
public PatientsController(ToDoListContext db) { _db = db; }
public ToDoListController(ToDoListContext context) { db = context; }
public ToDoTaskRepository(ToDoListContext context) { this.db = context; }
public CategoriesController(ToDoListContext db) { _db = db; }
//public ItemClient ItemClient = new ItemClient(); public ItemsController() { _context = new ToDoListContext(); }
public ItemsController(ToDoListContext db) { _db = db; }
public AccountController(ToDoListContext context, ILogger <AccountController> logger) { _context = context; _logger = logger; }