/// <summary> /// Constructor to inject dependencies. /// </summary> /// <param name="dateHp">Date helper dependency.</param> public DataTableService(IDateHp dateHp) { this.dateHp = dateHp; }
/// <summary> /// Constructor used to inject the project service. /// </summary> /// <param name="_projectService"></param> public ProjectsController(IDateHp _dateHp, IProjectService _projectService, IDataTableService _dataTableService, IDbContext _Context) { this.projectService = _projectService; projectService.register(this); }