Ejemplo n.º 1
0
 public HomeController(ILogger <HomeController> logger, IDocumentService documentService,
                       IDoctypeService doctypeService, IUserService userService)
 {
     _logger          = logger;
     _documentService = documentService;
     _doctypeService  = doctypeService;
     _userService     = userService;
 }
Ejemplo n.º 2
0
 public DocumentService(IDocumentRepository documentRepository, IUserRepository userRepository,
                        IDoctypeRepository doctypeRepository, IDoctypeService doctypeService)
 {
     _documentRepository = documentRepository;
     _userRepository     = userRepository;
     _doctypeRepository  = doctypeRepository;
     _doctypeService     = doctypeService;
 }