public ProjectApiController(IContainer container, IMapper mapper, IProjectService projectService, IProjectStatusService projectStatusService) { this.container = container; this.projectService = projectService; this.projectStatusService = projectStatusService; this.mapper = mapper; }
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; }