示例#1
0
        private readonly IFirebaseCloudMessagingService _firebaseCloudMessagingService; //Service for sending notifications.

        public UserReportController(IUserReportService userReportService,
                                    UserManager <ApplicationUser> userManager,
                                    IFirebaseCloudMessagingService firebaseCloudMessagingService)
        {
            _userReportService             = userReportService;
            _userManager                   = userManager;
            _firebaseCloudMessagingService = firebaseCloudMessagingService;
        }
 public ReportUserViewModel(IMvxNavigationService navigationService, IUserReportService reportService)
 {
     _navigationService = navigationService;
     _reportService     = reportService;
     _userReport        = new BaseUserReportViewModel
     {
         UserReporting = Settings.ApplicationData.CurrentUserViewModel
     };
 }
 public ReportModelFactory(IBaseAdminModelFactory baseAdminModelFactory,
                           ICountryService countryService,
                           IUserReportService userReportService,
                           IUserService userService,
                           IDateTimeHelper dateTimeHelper,
                           ILocalizationService localizationService,
                           IWorkContext workContext)
 {
     this._baseAdminModelFactory = baseAdminModelFactory;
     this._countryService        = countryService;
     this._userReportService     = userReportService;
     this._userService           = userService;
     this._dateTimeHelper        = dateTimeHelper;
     this._localizationService   = localizationService;
     this._workContext           = workContext;
 }
示例#4
0
 public UserReportsController(IUserReportService userReportService)
 {
     this.userReportService = userReportService;
 }
示例#5
0
 public void SetUp()
 {
     _applicationUserRepository = new Mock <IApplicationUserRepository>();
     _userReportService         = new UserReportService(_applicationUserRepository.Object);
 }
示例#6
0
 public ProcessReportViewModel(IUserReportService reportService, IMvxNavigationService navigationService, IToastSerivce toastSerivce)
 {
     _reportService     = reportService;
     _navigationService = navigationService;
     _toastSerivce      = toastSerivce;
 }
示例#7
0
 public ReportController()
 {
     _OrderService      = ServiceFactory.OrderService;
     _UserReportService = ServiceFactory.UserReportService;
 }
示例#8
0
 public ReportController()
 {
     _OrderService = ServiceFactory.OrderService;
     _coSettlementDeveloperAppDetailsService = ServiceFactory.CoSettlementDeveloperAppDetailsService;
     _UserReportService = ServiceFactory.UserReportService;
 }
 public AdminReportsViewModel(IMvxNavigationService navigationService, IUserReportService userReportService)
 {
     _navigationService   = navigationService;
     _userReportService   = userReportService;
     ReportItemViewModels = new MvxObservableCollection <ReportItemViewModel>();
 }
示例#10
0
 public UserReportsController(IUserReportService userReportService, IUserService userService, ILogger logger)
     : base(logger)
 {
     _userReportService = userReportService;
     _userService       = userService;
 }