public SearchPersonViewComponent(SCRUDContext dbContext) { _dbContext = dbContext; this.rep = new Repository_Person(dbContext, controllerContext: this); }
public SelectLists(SCRUDContext context) { _context = context; }
public Repository_Person(SCRUDContext db, IControllerContext controllerContext) { _db = db; _controllerContext = controllerContext; }
public PeopleController(SCRUDContext context) { _context = context; _db = new Repository_Person(context, this); }