public FilePathsControllerTests() { filePath = new FilePath(); FilePathRepo = Substitute.For <IFilePathRepository>(); underTest = new FilePathsController(ProjectRepo, FilePathRepo, e); id = 1; }
public FilePathsController(IProjectRepository projectRepo, IFilePathRepository filePathRepo, IHostingEnvironment e) { this.projectRepo = projectRepo; this.filePathRepo = filePathRepo; he = e; }