Example #1
0
 public NotificationController(IFreelancingPlatform freelancingPlatform,
                               UserManager <User> userManager,
                               IOptions <FreelancingPlatformConfig> fpConfig)
 {
     _freelancingPlatform = freelancingPlatform;
     _userManager         = userManager;
     _takeAmount          = fpConfig.Value.TakeAmount;
 }
Example #2
0
 public AdminController(IFreelancingPlatform freelancingPlatform, UserManager <User> userManager,
                        IOptions <FreelancingPlatformConfig> freelancingPlatformOptions, IJobMapper jobMapper)
 {
     _freelancingPlatform        = freelancingPlatform;
     _userManager                = userManager;
     _freelancingPlatformOptions = freelancingPlatformOptions;
     _jobMapper  = jobMapper;
     _takeAmount = freelancingPlatformOptions.Value.TakeAmount;
 }
 public UsersInteractionsController(IFreelancingPlatform freelancingPlatform,
                                    UserManager <User> userManager,
                                    IModeratorManager moderatorManager,
                                    IOptions <FreelancingPlatformConfig> freelancingPlatformConfig)
 {
     _freelancingPlatform       = freelancingPlatform;
     _userManager               = userManager;
     _moderatorManager          = moderatorManager;
     _freelancingPlatformConfig = freelancingPlatformConfig;
 }
Example #4
0
 public JobController(IFreelancingPlatform freelancingPlatform,
                      UserManager <User> userManager,
                      IHostingEnvironment environment,
                      IOptions <PhotoConfig> photoOptions,
                      IOptions <FreelancingPlatformConfig> fpOptions,
                      IJobMapper jobMapper)
 {
     _freelancingPlatform = freelancingPlatform;
     _userManager         = userManager;
     _environment         = environment;
     _photoOptions        = photoOptions;
     _jobMapper           = jobMapper;
     _takeAmount          = fpOptions.Value.TakeAmount;
 }
Example #5
0
 public ProfileController(UserManager <User> userManager, IFreelancingPlatform freelancingPlatform, IOptions <PhotoConfig> photoOptions)
 {
     _userManager         = userManager;
     _freelancingPlatform = freelancingPlatform;
     _photoOptions        = photoOptions;
 }
Example #6
0
 public ProposalController(IFreelancingPlatform freelancingPlatform, UserManager <User> userManager)
 {
     _freelancingPlatform = freelancingPlatform;
     _userManager         = userManager;
 }