/// <summary>Construtor</summary>
 /// <param name="service"></param>
 /// <param name="mapper"></param>
 /// <param name="serviceUsuario"></param>
 public EmpresaController(IEmpresaService service, IMapper mapper, IUserService serviceUsuario, IAuditoriaService auditoria, IGedService serviceGed)
 {
     _auditoria      = auditoria;
     _service        = service;
     _mapper         = mapper;
     _serviceUsuario = serviceUsuario;
     _serviceGed     = serviceGed;
 }
Exemplo n.º 2
0
 public GedController(IGedService gedService, IMetadadosService metadadosService,
                      IAuditoriaService auditoria, IEmpresaService serviceEmpresa,
                      IUserService serviceUsuario, IFormularioService formularioService,
                      IMapper mapper)
 {
     _auditoria             = auditoria;
     this.gedService        = gedService;
     this.metadadosService  = metadadosService;
     _serviceEmpresa        = serviceEmpresa;
     _serviceUsuario        = serviceUsuario;
     this.formularioService = formularioService;
     _mapper = mapper;
 }