Esempio n. 1
0
 public ComplainController(IEventLogService eventLog, IComplainService complain, ICommonDataService commonData, IMemberService member)
 {
     _complain = complain;
     _eventLog = eventLog;
     _commonData = commonData;
     _member = member;
 }
Esempio n. 2
0
 public UserController()
 {
     this.s               = new Service <User>();
     this.service         = Injector.Container.Resolve <IUserService>();
     this.Billservice     = Injector.Container.Resolve <IBillService>();
     this.ComplainService = Injector.Container.Resolve <IComplainService>();
 }
Esempio n. 3
0
 public DashBoardController(IEventLogService eventLog, ICommonDataService common, IMemberService member, IDeMeritService demerit, IComplainService complain)
 {
     _eventLog = eventLog;
     _common   = common;
     _member   = member;
     _demerit  = demerit;
     _complain = complain;
 }
Esempio n. 4
0
 public ReportController(IEventLogService eventLog, ICommonDataService common, IReportService report, IComplainService complain, IExelReportService exel, IMemberService member)
 {
     _eventLog = eventLog;
     _common   = common;
     _report   = report;
     _complain = complain;
     _exel     = exel;
     _member   = member;
 }
Esempio n. 5
0
 public AdminController()
 {
     this.service         = Injector.Container.Resolve <IUserService>();
     this.s               = new Service <User>();
     this.cs              = new Service <Complain>();
     this.Billservice     = Injector.Container.Resolve <IBillService>();
     this.Bservice        = Injector.Container.Resolve <IBirthCertificateService>();
     this.NIDservice      = Injector.Container.Resolve <IVoterIdService>();
     this.ComplainService = Injector.Container.Resolve <IComplainService>();
 }
Esempio n. 6
0
        public ComplainSolutionViewModel()
        {
            CleanUp();
            _complainService = new ComplainService();
            _employeeService = new EmployeeService(false, true);

            Messenger.Default.Register <EmployeeDTO>(this, message =>
            {
                EmployeeId = message.Id;
            });
        }
Esempio n. 7
0
        public ComplainDetailViewModel()
        {
            CleanUp();
            _complainService = new ComplainService();
            _employeeService = new EmployeeService(false, true);

            EditCommandVisibility = false;

            Messenger.Default.Register <EmployeeDTO>(this, message => { EmployeeId = message.Id; });

            Messenger.Default.Register <int>(this, message => { ComplainId = message; });
        }
Esempio n. 8
0
        public ComplainViewModel()
        {
            CleanUp();
            _complainService = new ComplainService();
            _employeeService = new EmployeeService();

            EditCommandVisibility = false;

            //Messenger.Default.Register<EmployeeDTO>(this, message =>
            //{
            //    SelectedEmployee = _employeeService.Find(message.Id.ToString());
            //});
            GetLiveComplains();
        }
Esempio n. 9
0
 public ComplainController(IMpUserService mpUserService,
                           IComplainService complainService)
 {
     _userService     = mpUserService;
     _complainService = complainService;
 }
Esempio n. 10
0
 public ComplainController(IComplainService complainService)
 {
     this._complainService = complainService;
 }
Esempio n. 11
0
 public ComplainController()
 {
     this.complainService = new ComplainService();
 }
Esempio n. 12
0
 public ComplainController()
 {
     LoadEnums();
     _complainService = new ComplainService();
 }