public PerformanceLibraryController(IPerformanceLibrary repo, BridgeCareContext db) { this.repo = repo ?? throw new ArgumentNullException(nameof(repo)); this.db = db ?? throw new ArgumentNullException(nameof(db)); PerformanceLibraryGetMethods = CreateGetMethods(); PerformanceLibrarySaveMethods = CreateSaveMethods(); }
public PerformanceLibraryController(IPerformanceLibrary repo, BridgeCareContext db) { this.repo = repo ?? throw new ArgumentNullException(nameof(repo)); this.db = db ?? throw new ArgumentNullException(nameof(db)); }