/// <summary> /// Initializes a new instance of the <see cref="TimeOffDialog"/> class. /// </summary> /// <param name="azureTableStorageHelper">Azure table storage.</param> /// <param name="commentsActivity">Comments activity.</param> /// <param name="roleActivity">Tole activity.</param> /// <param name="response">Login response.</param> /// <param name="authenticationService">Authentication service.</param> /// <param name="timeOffActivity">Timeoff activity.</param> /// <param name="timeOffCard">Timeoff card.</param> /// <param name="commonActivity">Common activty.</param> public TimeOffDialog(IAzureTableStorageHelper azureTableStorageHelper, ICommentsActivity commentsActivity, IRoleActivity roleActivity, LoginResponse response, IAuthenticationService authenticationService, ITimeOffActivity timeOffActivity, TimeOffRequestCard timeOffCard, ICommonActivity commonActivity) { this.timeOffCard = timeOffCard; this.response = response; this.authenticationService = authenticationService; this.timeOffActivity = timeOffActivity; this.commonActivity = commonActivity; this.roleActivity = roleActivity; this.commentsActivity = commentsActivity; this.azureTableStorageHelper = azureTableStorageHelper; }
/// <summary> /// Initializes a new instance of the <see cref="SupervisorViewTimeOffDialog"/> class. /// </summary> /// <param name="roleActivity">Role activity.</param> /// <param name="commentsActivity">Comments activity.</param> /// <param name="commonActivity">Common activity.</param> /// <param name="authUser">AuthenticateUser class object.</param> /// <param name="response">Login response.</param> /// <param name="authenticationService">AuthenticateService.</param> /// <param name="timeOffRequestActivity">TimeOffRequestActivity.</param> /// <param name="timeOffActivity">TimeOffActivity.</param> /// <param name="timeOffCard">Time off card.</param> /// <param name="hyperFindActivity">HyperFindActivity.</param> /// <param name="card">SupervisorViewTimeOffRequestsCard class object.</param> public SupervisorViewTimeOffDialog(IRoleActivity roleActivity, ICommentsActivity commentsActivity, ICommonActivity commonActivity, AuthenticateUser authUser, LoginResponse response, IAuthenticationService authenticationService, ITimeOffActivity timeOffRequestActivity, ISupervisorViewTimeOffActivity timeOffActivity, TimeOffRequestCard timeOffCard, IHyperFindActivity hyperFindActivity, SupervisorViewTimeOffRequestsCard card) { this.timeOffCard = timeOffCard; this.response = response; this.authenticationService = authenticationService; this.timeOffActivity = timeOffActivity; this.hyperFindActivity = hyperFindActivity; this.supervisorTimeOffcard = card; this.commentsActivity = commentsActivity; this.timeOffRequestActivity = timeOffRequestActivity; this.authUser = authUser; this.commonActivity = commonActivity; this.roleActivity = roleActivity; }