Exemple #1
0
 /// <summary>
 /// Constructor to inject dependencies.
 /// </summary>
 /// <param name="dateHp">Date helper dependency.</param>
 public DataTableService(IDateHp dateHp)
 {
     this.dateHp = dateHp;
 }
Exemple #2
0
 /// <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);
 }