public AutoCompleteController(IStudentAppService studentAppService, IStaffAppService staffAppService, IUserAppService userAppService)
     : base(userAppService)
 {
     this._studentService = studentAppService;
     this._staffService   = staffAppService;
     this._userAppService = userAppService;
 }
Ejemplo n.º 2
0
 public NewStaffController(IStaffDetailsAppService _staffDetailsAppService, IBoundaryAppService _boundaryService, IReportingAppService _reportingService, IStaffAppService _newStaffService)
 {
     this._staffDetailsAppService = _staffDetailsAppService;
     this._boundaryService        = _boundaryService;
     this._reportingService       = _reportingService;
     this._newStaffService        = _newStaffService;
 }
        public static SelectList LoadReportingTo(IStaffAppService _newStaffService)
        {
            var items = _newStaffService.All().ToList()
                        .Select(x => new { x.StaffId, x.StaffName }).ToList();

            //items.Insert(0, new { Id = "", BoundaryName = "---- Select ----" });
            return(new SelectList(items.OrderBy(x => x.StaffName), "StaffId", "StaffName"));
        }
Ejemplo n.º 4
0
 public StaffController(INotificationHandler <DomainNotification> notifications,
                        IStaffAppService staffAppService,
                        IdentityManager identityManager,
                        IMediatorHandler mediator) : base(notifications, mediator)
 {
     _identityManager = identityManager;
     _staffAppService = staffAppService;
 }
 public FileProcessActionController(IStaffAppService _newStaffService, IFileMainAppService _fileMainService, IFileTransMainAppService _fileTransMainService, IFileTransDetailAppService _fileTransDetailService, IFileDetailAppService _fileDetailService, IActionListAppService _actionListService)
 {
     this._newStaffService        = _newStaffService;
     this._fileMainService        = _fileMainService;
     this._fileDetailService      = _fileDetailService;
     this._fileTransMainService   = _fileTransMainService;
     this._fileTransDetailService = _fileTransDetailService;
     this._actionListService      = _actionListService;
 }
 public HomeController(IFileMainAppService _fileMainService, IFileDetailAppService _fileDetailService,
                       IStaffAppService _newStaffService, IActionListAppService _actionListService, IBoundaryAppService _boundaryService, IFileTransMainAppService _fileTransMainService,
                       IFileProcessInfosAppService _fileProcessInfoService, IAFileDetailAppService _afileDetailService, IAFileMainAppService _afileMainService)
 {
     this._fileMainService        = _fileMainService;
     this._fileDetailService      = _fileDetailService;
     this._afileMainService       = _afileMainService;
     this._afileDetailService     = _afileDetailService;
     this._newStaffService        = _newStaffService;
     this._actionListService      = _actionListService;
     this._boundaryService        = _boundaryService;
     this._fileTransMainService   = _fileTransMainService;
     this._fileProcessInfoService = _fileProcessInfoService;
 }
Ejemplo n.º 7
0
 public ValuesController(INotificationHandler <DomainNotification> notifications,
                         IStaffAppService staffAppService,
                         IMediatorHandler mediator) : base(notifications, mediator)
 {
     _staffAppService = staffAppService;
 }
Ejemplo n.º 8
0
 public StaffsController(IStaffAppService staffAppService, IHostingEnvironment hostingEnvironment)
 {
     _staffAppService    = staffAppService;
     _hostingEnvironment = hostingEnvironment;
 }
 public AuthenticationController(IStaffAppService _newStaffService)
 {
     this._newStaffService = _newStaffService;
 }
 public SignaturePinController(IStaffAppService _newStaffService)
 {
     this._newStaffService = _newStaffService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AdminController"/> class.
 /// </summary>
 /// <param name="staffService">The staff service.</param>
 /// <param name="studentService">The student service.</param>
 public AdminController(IStaffAppService staffService, IStudentAppService studentService)
 {
     this._staffService   = staffService;
     this._studentService = studentService;
 }