public TraceControllerTest() { var options = new DbContextOptionsBuilder <BD_EPM>() .UseInMemoryDatabase("DatabaseTrace-" + $"{Guid.NewGuid()}") .Options; var bdEnMemoire = new BD_EPM(options); _traceController = new TraceController(bdEnMemoire, new FakeUpload()); }
public CritereControllerTests() { var options = new DbContextOptionsBuilder <BD_EPM>() .UseInMemoryDatabase("DatabaseTrace-" + $"{Guid.NewGuid()}") .Options; var bdEnMemoire = new BD_EPM(options); _CritereController = new CritereController(bdEnMemoire); }
public CritereController(BD_EPM maBd) { _maBd = maBd; }
public HistoriqueController(BD_EPM maBd) { _maBd = maBd; }
public CategorieController(BD_EPM maBd) { _maBd = maBd; }
public UtilisateurController(BD_EPM maBd) { _maBd = maBd; }
public TraceController(BD_EPM maBd, UploadService uploadService) { _maBd = maBd; _uploadService = uploadService; }