public NotificationController(IAppUserService appUserService, IProjectService projectService,
                               INotificationService notificationService, IUserProjectService userProjectService)
 {
     _appUserService      = appUserService;
     _projectService      = projectService;
     _notificationService = notificationService;
     _userProjectService  = userProjectService;
 }
示例#2
0
 public ProjectFacade(IAppUserService appUserService, IProjectService projectService,
                      IUserProjectService userProjectService, IMapper mapper, ITicketService ticketService,
                      INotificationService notificationService)
 {
     _appUserService      = appUserService;
     _projectService      = projectService;
     _userProjectService  = userProjectService;
     _mapper              = mapper;
     _ticketService       = ticketService;
     _notificationService = notificationService;
 }
示例#3
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="ProjectController" /> class
 /// </summary>
 /// <param name="projectService">The project service which is used to communicate with the logic layer.</param>
 /// <param name="userService">The user service which is used to communicate with the logic layer.</param>
 /// <param name="mapper">The mapper which is used to convert the resources to the models to the resource results.</param>
 /// <param name="fileService">The file service which is used to communicate with the logic layer.</param>
 /// <param name="userProjectLikeService">
 ///     The service that handles liked project by users which is used to communicate with
 ///     the logic layer.
 /// </param>
 /// <param name="authorizationHelper">
 ///     The authorization helper which is used to communicate with the authorization helper
 ///     class.
 /// </param>
 /// <param name="fileUploader">The file uploader service is used to upload the files into the file system</param>
 /// <param name="userProjectService">
 ///     The user project service is responsible for users that are following / liking
 ///     projects.
 /// </param>
 /// <param name="callToActionOptionService">The call to action option service is used to communicate with the logic layer.</param>
 public ProjectController(IProjectService projectService,
                          IUserService userService,
                          IMapper mapper,
                          IFileService fileService,
                          IUserProjectLikeService userProjectLikeService,
                          IAuthorizationHelper authorizationHelper,
                          IFileUploader fileUploader,
                          IUserProjectService userProjectService,
                          ICallToActionOptionService callToActionOptionService)
 {
     this.projectService         = projectService;
     this.userService            = userService;
     this.userProjectLikeService = userProjectLikeService;
     this.fileService            = fileService;
     this.fileUploader           = fileUploader;
     this.mapper = mapper;
     this.authorizationHelper       = authorizationHelper;
     this.userProjectService        = userProjectService;
     this.callToActionOptionService = callToActionOptionService;
 }
示例#4
0
 public ProjectController(IProjectService projectService, IUserProjectService userProjectService)
 {
     _projectService     = projectService;
     _userProjectService = userProjectService;
 }
 public HomeController(IUserProjectService userProjectService, IUserService userService, IProjectService projectService)
 {
     _userProjectService = userProjectService;
     _userService        = userService;
     _projectService     = projectService;
 }
示例#6
0
 public UserProjectController(IUserProjectService userProjectService, ILogger <UserProjectController> logger)
 {
     _userProjectService = userProjectService;
     _logger             = logger;
 }
示例#7
0
 public AppUserController(IUserProjectService userProjectService, IAppUserService appUserService, INotificationService notificationService)
 {
     _userProjectService  = userProjectService;
     _userService         = appUserService;
     _notificationService = notificationService;
 }
 public UserProjectsController(IUserProjectService userProjectService, IMapper mapper)
 {
     this.userProjectService = userProjectService;
     this.mapper             = mapper;
 }