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