public MomentController(ISessionProvider<AefSession> sessionProvider, IMomentManager momentManager, IMomentFileManager momentFileManager, IMomentLikeManager momentLikeManager, IMomentCommentManager momentCommentManager, IAccessTimeManager accessTimeManager, IStaffManager staffManager, IOrgManager orgManager) : base(sessionProvider) { Args.NotNull(momentManager, nameof(momentManager)); Args.NotNull(momentFileManager, nameof(momentFileManager)); Args.NotNull(momentManager, nameof(momentManager)); Args.NotNull(staffManager, nameof(staffManager)); Args.NotNull(accessTimeManager, nameof(accessTimeManager)); Args.NotNull(orgManager, nameof(orgManager)); m_MomentManager = momentManager; m_MomentFileManager = momentFileManager; m_MomentLikeManager = momentLikeManager; m_MomentCommentManager = momentCommentManager; m_SessionProvider = sessionProvider; m_StaffManager = staffManager; m_AccessTimeManager = accessTimeManager; m_OrgManager = orgManager; }
public IList <IStaffManager> GetAllStaffManager() { using (new OperationContextScope((IContextChannel)_emsEndPointClient.InnerChannel)) { if (ServiceHeaders != null) { OperationContext.Current.OutgoingMessageProperties[HttpRequestMessageProperty.Name] = Utility.SetMessageProperty(ServiceHeaders); } EmsService.GetAllStaffManagersResponse response = _emsEndPointClient.getAllStaffManagers(new EmsService.getAllStaffManagersRequest()); IList <IStaffManager> listReturn = new List <IStaffManager>(); foreach (EmsService.employeeInfoDTO item in response.list) { IStaffManager manager = Translator.EmployeeToEntity <StaffManager>(item); if (item.accountInfoDTO != null) { manager.PersonObject = Translator.PersonToEntity(DataIntegrationMapper.ToAccountInfoDto(item.accountInfoDTO)); } listReturn.Add(manager); } return(listReturn); } }
public StaffController(ISessionScopeFactory sessionScopeFactory, IStaffManager staffManager) { Args.NotNull(sessionScopeFactory, nameof(sessionScopeFactory)); Args.NotNull(staffManager, nameof(staffManager)); this.SessionScopeFactory = sessionScopeFactory; this.StaffManager = staffManager; }
public TaskController(ISessionScopeFactory sessionScopeFactory, ITaskManager taskManager , IPartakerManager partakerManager, IAccountManager accountManager, IStaffManager staffManager) { if (sessionScopeFactory == null) throw new ArgumentException("sessionScopeFactory"); if (taskManager == null) throw new ArgumentException("TaskManager"); m_SessionScopeFactory = sessionScopeFactory; m_TaskManager = taskManager; m_PartakerManager = partakerManager; m_AccountManager = accountManager; m_StaffManager = staffManager; }
public StaffController(ISessionScopeFactory sessionScopeFactory, IStaffManager staffManager, IPartakerManager partakerManager) : base(sessionScopeFactory) { Args.NotNull(sessionScopeFactory, nameof(sessionScopeFactory)); Args.NotNull(staffManager, nameof(staffManager)); Args.NotNull(partakerManager, nameof(partakerManager)); this.m_SessionScopeFactory = sessionScopeFactory; this.StaffManager = staffManager; }
public TaskAlarmController(ISessionScopeFactory sessionScopeFactory, IAlarmPeriodManager alarmPeriodManager, ITaskAlarmManager taskAlarmManager, IStaffManager staffManager) : base(sessionScopeFactory) { if (sessionScopeFactory == null) throw new ArgumentNullException(nameof(sessionScopeFactory)); if (alarmPeriodManager == null) throw new ArgumentNullException(nameof(alarmPeriodManager)); if (staffManager == null) throw new ArgumentNullException(nameof(staffManager)); m_AlarmPeriodManager = alarmPeriodManager; m_TaskAlarmManager = taskAlarmManager; m_StaffManager = staffManager; }
public OrgController(ISessionScopeFactory sessionScopeFactory, IStaffManager staffManager, IOrgManager orgManager, IAccountManager accountManager ) : base(sessionScopeFactory) { if (sessionScopeFactory == null) throw new ArgumentNullException(nameof(sessionScopeFactory)); if (orgManager == null) throw new ArgumentNullException(nameof(orgManager)); if (staffManager == null) throw new ArgumentNullException(nameof(staffManager)); if (accountManager == null) throw new ArgumentNullException(nameof(accountManager)); m_SessionScopeFactory = sessionScopeFactory; m_OrgManager = orgManager; m_StaffManager = staffManager; m_AccountManager = accountManager; }
public PartakerReqController(ISessionScopeFactory sessionScopeFactory, ITaskManager taskManager, IStaffManager staffManager, IPartakerReqManager partakerReqManager) : base(sessionScopeFactory) { if (sessionScopeFactory == null) throw new ArgumentNullException(nameof(sessionScopeFactory)); if (taskManager == null) throw new ArgumentNullException(nameof(taskManager)); if (staffManager == null) throw new ArgumentNullException(nameof(staffManager)); if (partakerReqManager == null) throw new ArgumentNullException(nameof(partakerReqManager)); m_SessionScopeFactory = sessionScopeFactory; m_TaskManager = taskManager; m_StaffManager = staffManager; m_PartakerReqManager = partakerReqManager; }
public StaffReqController(ISessionProvider<AefSession> sessionProvider, IStaffManager staffManager, IOrgManager orgManager, IAccountManager accountManager, IStaffReqManager staffReqManager, INotificationManager notificationManager, IConfiguration config) : base(sessionProvider) { if (staffManager == null) throw new ArgumentException(nameof(staffManager)); if (staffReqManager == null) throw new ArgumentException(nameof(staffReqManager)); if (accountManager == null) throw new ArgumentException(nameof(accountManager)); if (orgManager == null) throw new ArgumentException(nameof(orgManager)); if (notificationManager == null) throw new ArgumentException(nameof(notificationManager)); if (config == null) throw new ArgumentException(nameof(config)); m_StaffManager = staffManager; m_StaffReqManager = staffReqManager; m_OrgManager = orgManager; m_NotificationManager = notificationManager; m_AccountManager = accountManager; m_Configuration = config; }
public PartakerInvController(ISessionProvider<AefSession> sessionProvider, ITaskManager taskManager, IStaffManager staffManager, IPartakerInvManager partakerInvManager, INotificationManager notificationManager, IConfiguration config, IIMService imService) : base(sessionProvider) { if (taskManager == null) throw new ArgumentNullException(nameof(taskManager)); if (staffManager == null) throw new ArgumentNullException(nameof(staffManager)); if (partakerInvManager == null) throw new ArgumentNullException(nameof(partakerInvManager)); if (notificationManager == null) throw new ArgumentException(nameof(notificationManager)); if (config == null) throw new ArgumentException(nameof(config)); if (imService == null) throw new ArgumentException(nameof(imService)); m_TaskManager = taskManager; m_StaffManager = staffManager; m_PartakerInvManager = partakerInvManager; m_Configuration = config; m_NotificationManager = notificationManager; m_IIMService = imService; }
public ProjectController(IProjectManager context, IStaffManager staffMgr) { _context = context; _staffMgr = staffMgr; }
// GET: Rate public RateController(IStaffManager istaffMgr) { _istaffMgr = istaffMgr; }
public AdminController(IStaffManager staffManager) { _staffManager = staffManager; }
//private IExcelProcessor _excel; public StaffController(IStaffManager context) { _context = context; }