Beispiel #1
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 LoadBoundary(IBoundaryAppService _boundaryService)
        {
            var items = _boundaryService.All().ToList()
                        .Select(x => new { x.Id, x.BoundaryName }).ToList();

            //items.Insert(0, new { Id = "", BoundaryName = "---- Select ----" });
            return(new SelectList(items.OrderBy(x => x.BoundaryName), "Id", "BoundaryName"));
        }
 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;
 }
 public BoundaryController(IBoundaryAppService _boundaryService)
 {
     this._boundaryService = _boundaryService;
 }