public GeneratePasswordController(IGeneratePasswordService service) { _service = service; }
public HomeController(IFileOperationService fileService, IGeneratePasswordService service) { _reader = fileService; _service = service; }
public GeneratePasswordController() { _service = new GeneratePasswordService(new FileOperationService(), new HttpFilePathService()); }
public HomeController() { _reader = new FileOperationService(); _service = new GeneratePasswordService(_reader, new HttpFilePathService()); }