コード例 #1
0
 public AutoApprovalController(IEmployeeAppService _employeeService, IFileTransMainAppService _pafamainService, IFileTransDetailAppService _palogsService, IActionListAppService _actionListService)
 {
     this._employeeService      = _employeeService;
     this._FileTransMainService = _pafamainService;
     this._palogsService        = _palogsService;
     this._actionListService    = _actionListService;
 }
コード例 #2
0
        public static SelectList LoadAllActions(IActionListAppService _actionListService)
        {
            var items = _actionListService.All().ToList()
                        .Select(x => new { x.ActID, x.ActDesc }).ToList();

            items.Insert(0, new { ActID = 0, ActDesc = "---- Select ----" });
            return(new SelectList(items, "ActID", "ActDesc"));
        }
コード例 #3
0
        public static SelectList LoadActionList(IActionListAppService _actionListService)
        {
            var items = _actionListService.All().ToList()
                        .Select(x => new { x.ActID, x.ActDesc }).ToList();

            //items.Insert(0, new { Id = "", BoundaryName = "---- Select ----" });
            return(new SelectList(items.OrderBy(x => x.ActDesc), "ActID", "ActDesc"));
        }
コード例 #4
0
 public NewFileController(IFileMainAppService _fileMainService, ISysSetAppService _sysSet,
                          IFileDetailAppService _fileDetailService, IActionListAppService _actionListService)
 {
     this._fileMainService   = _fileMainService;
     this._fileDetailService = _fileDetailService;
     this._actionListService = _actionListService;
     this._sysSet            = _sysSet;
 }
 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;
 }
コード例 #6
0
 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;
 }