Exemple #1
0
 public ComunicadoController(IComunicadoRepositorio noticiaRepositorio,
                             IMapper mapper,
                             INotificador notificador,
                             IHostingEnvironment env,
                             IComunicadoService noticiaService,
                             IUser user) : base(notificador, user)
 {
     _comunicadoRepositorio = noticiaRepositorio;
     _env               = env;
     _mapper            = mapper;
     _comunicadoService = noticiaService;
 }
 public ComunicadoController(IUsuarioService dbUsuario,
                             IComunicadoService dbComunicado,
                             IComunicadoAcaoService dbComunicadoAcao,
                             IAssuntoService dbAssunto,
                             INotification notifier,
                             IMapper mapper) : base(notifier)
 {
     _mapper           = mapper;
     _dbComunicado     = dbComunicado;
     _dbComunicadoAcao = dbComunicadoAcao;
     _dbAssunto        = dbAssunto;
     _dbUsuario        = dbUsuario;
 }