Exemplo n.º 1
0
 public ProjectApiController(IContainer container, IMapper mapper, IProjectService projectService,
                             IProjectStatusService projectStatusService)
 {
     this.container            = container;
     this.projectService       = projectService;
     this.projectStatusService = projectStatusService;
     this.mapper = mapper;
 }
Exemplo n.º 2
0
 public ProjectStatusController(IProjectStatusService projectStatusService) : base(projectStatusService)
 {
     this.projectStatusService = projectStatusService;
 }
 public ProjectStatusController()
 {
     projectStatusService = new ProjectStatusService();
 }
 /// <summary>
 /// Creates a new instance with the project status service.
 /// </summary>
 /// <param name="service">The service.</param>
 public ProjectStatusesController(IProjectStatusService service)
 {
     Contract.Requires(service != null, "The service must not be null.");
     this.service = service;
 }