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