/// <summary>
 /// Initializes a new instance of the <see cref="ManagerDashboardController"/> class.
 /// </summary>
 /// <param name="logger">The ILogger object which logs errors and information.</param>
 /// <param name="managerDashboardHelper">The instance of manager dashboard helper.</param>
 /// <param name="telemetryClient">The Application Insights telemetry client.</param>
 public ManagerDashboardController(
     ILogger <ManagerDashboardController> logger,
     IManagerDashboardHelper managerDashboardHelper,
     TelemetryClient telemetryClient)
     : base(telemetryClient)
 {
     this.managerDashboardHelper = managerDashboardHelper;
     this.logger = logger;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TimesheetController"/> class.
 /// </summary>
 /// <param name="logger">The ILogger object which logs errors and information.</param>
 /// <param name="telemetryClient">The Application Insights telemetry client.</param>
 /// <param name="timesheetHelper">The instance of timesheet helper.</param>
 /// <param name="managerDashboardHelper">The instance of manager dashboard helper.</param>
 /// <param name="repositoryAccessors">Holds the instance of respository accessors for database operations.</param>
 public TimesheetController(
     ILogger <TimesheetController> logger,
     TelemetryClient telemetryClient,
     ITimesheetHelper timesheetHelper,
     IManagerDashboardHelper managerDashboardHelper,
     IRepositoryAccessors repositoryAccessors)
     : base(telemetryClient)
 {
     this.logger                 = logger;
     this.timesheetHelper        = timesheetHelper;
     this.managerDashboardHelper = managerDashboardHelper;
     this.repositoryAccessors    = repositoryAccessors;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ProjectController"/> class.
 /// </summary>
 /// <param name="logger">The ILogger object which logs errors and information.</param>
 /// <param name="projectHelper">The instance of project helper which helps in managing operations on project entity.</param>
 /// <param name="userHelper">Instance of user helper.</param>
 /// <param name="telemetryClient">The Application Insights telemetry client.</param>
 /// <param name="taskMapper">The instance of task mapper.</param>
 /// <param name="taskHelper">The instance of task helper.</param>
 /// <param name="managerDashboardHelper">Holds the instance of manager dashboard helper.</param>
 /// <param name="repositoryAccessors">Holds the instance of respository accessors for database operations.</param>
 public ProjectController(
     ILogger <ProjectController> logger,
     IProjectHelper projectHelper,
     IUserHelper userHelper,
     IManagerDashboardHelper managerDashboardHelper,
     TelemetryClient telemetryClient,
     ITaskMapper taskMapper,
     ITaskHelper taskHelper,
     IRepositoryAccessors repositoryAccessors)
     : base(telemetryClient)
 {
     this.projectHelper          = projectHelper;
     this.userHelper             = userHelper;
     this.managerDashboardHelper = managerDashboardHelper;
     this.logger              = logger;
     this.taskMapper          = taskMapper;
     this.taskHelper          = taskHelper;
     this.repositoryAccessors = repositoryAccessors;
 }