Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SendNotification"/> class.
 /// </summary>
 public SendNotification()
 {
     var container = new Container(new DefaultRegistry());
     this.loggerservice = container.GetInstance<ILoggerService>();
     this.youfferMessageService = container.GetInstance<IYoufferMessageService>();
     this.userService = container.GetInstance<IUserService>();
     this.pushMessageService = container.GetInstance<IPushMessageService>();
     this.commonService = container.GetInstance<ICommonService>();
     this.crmManagerService = container.GetInstance<ICRMManagerService>();
     this.authRepository = container.GetInstance<IAuthRepository>();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CompanyController"/> class.
 /// </summary>
 /// <param name="loggerService">The logger service.</param>
 /// <param name="crmManagerService">The CRM manager service.</param>
 /// <param name="userService">The user service.</param>
 /// <param name="noteService">The note service.</param>
 /// <param name="commonService">The common service.</param>
 /// <param name="youfferMessageService">The youffer message service.</param>
 /// <param name="oppService">The opp service.</param>
 /// <param name="youfferContactService">The youffer contact service.</param>
 /// <param name="youfferLeadService">The youffer lead service.</param>
 /// <param name="youfferFeedbackService">The youffer feedback service.</param>
 /// <param name="mapperFactory">The Mapper Factory</param>
 /// <param name="youfferNoteService">The youffer note service.</param>
 /// <param name="youfferInterestService"> The youffer interest service </param>
 /// <param name="pushMessageService">The push message service</param>
 public CompanyController(ILoggerService loggerService, ICRMManagerService crmManagerService, IUserService userService, INoteService noteService, ICommonService commonService, IYoufferMessageService youfferMessageService, IOpportunityService oppService, IYoufferContactService youfferContactService, IYoufferLeadService youfferLeadService, IYoufferFeedbackService youfferFeedbackService, IMapperFactory mapperFactory, IYoufferNoteService youfferNoteService, IYoufferInterestService youfferInterestService, IPushMessageService pushMessageService)
     : base(loggerService)
 {
     this.mapperFactory = mapperFactory;
     this.crmManagerService = crmManagerService;
     this.userService = userService;
     this.noteService = noteService;
     this.commonService = commonService;
     this.youfferMessageService = youfferMessageService;
     this.oppService = oppService;
     this.youfferContactService = youfferContactService;
     this.youfferLeadService = youfferLeadService;
     this.youfferFeedbackService = youfferFeedbackService;
     this.youfferNoteService = youfferNoteService;
     this.youfferInterestService = youfferInterestService;
     this.pushMessageService = pushMessageService;
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserController" /> class.
 /// </summary>
 /// <param name="loggerService">The Logger service.</param>
 /// <param name="crmManagerService">The CRMManager service.</param>
 /// <param name="userService">The User service.</param>
 /// <param name="youfferContactService">The YoufferContact service.</param>
 /// <param name="commonService">The Common service.</param>
 /// <param name="youfferMessageService">The YoufferMessage service.</param>
 /// <param name="youfferFeedbackService">The youffer feedback service.</param>
 /// <param name="youfferPaymentService">The youffer payment service.</param>
 /// <param name="mapperFactory">The mapper factory.</param>
 /// <param name="vTigerService">the vtiger service. </param>
 /// <param name="pushMessageService">The push service.</param> 
 /// <param name="ip2LocationService">The IP2Location service.</param>
 public UserController(ILoggerService loggerService, ICRMManagerService crmManagerService, IUserService userService, IYoufferContactService youfferContactService, ICommonService commonService, IYoufferMessageService youfferMessageService, IYoufferFeedbackService youfferFeedbackService, IYoufferPaymentService youfferPaymentService, IMapperFactory mapperFactory, IVTigerService vTigerService, IPushMessageService pushMessageService, IIP2LocationService ip2LocationService)
     : base(loggerService)
 {
     this.crmManagerService = crmManagerService;
     this.userService = userService;
     this.youfferContactService = youfferContactService;
     this.commonService = commonService;
     this.youfferMessageService = youfferMessageService;
     this.youfferFeedbackService = youfferFeedbackService;
     this.youfferPaymentService = youfferPaymentService;
     this.mapperFactory = mapperFactory;
     this.vTigerService = vTigerService;
     this.pushMessageService = pushMessageService;
     this.ip2LocationService = ip2LocationService;
 }
Esempio n. 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CommonController"/> class.
 /// </summary>
 /// <param name="loggerService">The logger service.</param>
 /// <param name="commonService">The common service.</param>
 /// <param name="crmManagerService">The CRM manager service.</param>
 /// <param name="youfferMessageService">The youffer message service.</param>
 /// <param name="youfferInterestService">the youffer interest service</param>
 /// <param name="mapperFactory"> The mapperFactory</param>
 /// <param name="youfferContactService"> The youffer contact service. </param>
 /// <param name="pushMessageService">The push message service.</param>
 /// <param name="ip2LocationService">The ip2Location service.</param>
 public CommonController(ILoggerService loggerService, ICommonService commonService, ICRMManagerService crmManagerService, IYoufferMessageService youfferMessageService, IYoufferInterestService youfferInterestService, IMapperFactory mapperFactory, IYoufferContactService youfferContactService, IPushMessageService pushMessageService, IIP2LocationService ip2LocationService)
     : base(loggerService)
 {
     this.mapperFactory = mapperFactory;
     this.commonService = commonService;
     this.crmManagerService = crmManagerService;
     this.youfferMessageService = youfferMessageService;
     this.youfferInterestService = youfferInterestService;
     this.youfferContactService = youfferContactService;
     this.pushMessageService = pushMessageService;
     this.ip2LocationService = ip2LocationService;
 }
Esempio n. 5
0
 /// <summary>
 ///  Initializes a new instance of the <see cref="AccountController" /> class.
 /// </summary>
 /// <param name="authRepository">The Authentication Repository.</param>
 /// <param name="loggerService">The Logger Service.</param>
 /// <param name="crmManagerService">The CRM Manager Service.</param>
 /// <param name="userService">The User Service.</param>
 /// <param name="youfferContactService">The YoufferContact Service.</param>
 /// <param name="commonService">The Common service. </param>
 /// <param name="mapperFactory">The Mapper Factory</param>
 /// <param name="pushService">The Push notification Service.</param>
 /// <param name="youfferInterestService">The youffer interest service.</param>
 /// <param name="youfferMessageService">The youffer message service.</param>
 /// <param name="pushMessageService">The push message service.</param>
 /// <param name="ip2LocationService">The IP2Location service.</param>
 public AccountController(IAuthRepository authRepository, ILoggerService loggerService, ICRMManagerService crmManagerService, IUserService userService, IYoufferContactService youfferContactService, ICommonService commonService, IMapperFactory mapperFactory, IPushMessageService pushService, IYoufferInterestService youfferInterestService, IYoufferMessageService youfferMessageService, IPushMessageService pushMessageService, IIP2LocationService ip2LocationService)
     : base(loggerService)
 {
     this.pushService = pushService;
     this.mapperFactory = mapperFactory;
     this.authRepository = authRepository;
     this.crmManagerService = crmManagerService;
     this.userService = userService;
     this.youfferContactService = youfferContactService;
     this.commonService = commonService;
     this.youfferInterestService = youfferInterestService;
     this.youfferMessageService = youfferMessageService;
     this.pushMessageService = pushMessageService;
     this.ip2LocationService = ip2LocationService;
 }