Example #1
0
 public SearchController(epionierContext context)
 {
     _context                 = context;
     _searchedSet             = _context.Odwiert;
     _zielenController        = new ZielenController(context);
     _zwierciadloGlController = new ZwierciadloGlController(context);
 }
Example #2
0
 public OdwiertController(epionierContext context, IWebHostEnvironment hostEnvironment)
 {
     _context               = context;
     _dzielniceController   = new DzielniceController(_context);
     _zwierciadloController = new ZwierciadloGlController(_context);
     _environment           = hostEnvironment;
 }