public CampanhaController(ICampanhaAppService baseApps, IUsuarioAppService usuApps, IContatoAppService conApps, IGrupoAppService gruApps, ICampanhaContatoAppService ccApps, ICampanhaGrupoAppService cgApps)
 {
     baseApp = baseApps;
     usuApp  = usuApps;
     conApp  = conApps;
     gruApp  = gruApps;
     ccApp   = ccApps;
     cgApp   = cgApps;
 }
Ejemplo n.º 2
0
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member

        #endregion

        #region Construtores

        /// <summary>
        /// Cria uma nova instância da API
        /// </summary>
        public CampanhaController
        (
            ICampanhaAppService appService,
            IHostingEnvironment hostingEnvironment
        )
        {
            _appService         = appService;
            _hostingEnvironment = hostingEnvironment;
            _caminho            = Directory.GetDirectories(_hostingEnvironment.WebRootPath).Where(x => x.EndsWith("images")).SingleOrDefault();
        }
 public MensagemController(IMensagemAppService baseApps, IUsuarioAppService usuApps, IContatoAppService conApps, IGrupoAppService gruApps, ICampanhaAppService camApps, IMensagemContatoAppService mcApps, IMensagemGrupoAppService mgApps, IMensagemCampanhaAppService mpApps, ITemplateAppService temApps)
 {
     baseApp = baseApps;
     usuApp  = usuApps;
     conApp  = conApps;
     gruApp  = gruApps;
     camApp  = camApps;
     mcApp   = mcApps;
     mgApp   = mgApps;
     mpApp   = mpApps;
     temApp  = temApps;
 }
Ejemplo n.º 4
0
 public CampanhaController(ICampanhaAppService campanhaAppService, ICampanhaParticipanteAppService campanhaParticipanteAppService, IUsuarioAppService usuarioAppService)
 {
     _campanhaAppService             = campanhaAppService;
     _campanhaParticipanteAppService = campanhaParticipanteAppService;
     _usuarioAppService = usuarioAppService;
 }
Ejemplo n.º 5
0
 public TemplateController(ITemplateAppService baseApps, IUsuarioAppService usuApps, ICampanhaAppService camApps)
 {
     baseApp = baseApps;
     usuApp  = usuApps;
     camApp  = camApps;
 }