示例#1
0
 public ProfileController(
     UserManager <ApplicationUser> userManager,
     IProfileService profileService,
     IUploadPhotoService uploadPhotoService)
 {
     this.userManager        = userManager;
     this.profileService     = profileService;
     this.uploadPhotoService = uploadPhotoService;
 }
 public RegisterModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <RegisterModel> logger,
     IEmailSender emailSender,
     IUploadPhotoService uploadPhoto)
 {
     this._userManager   = userManager;
     this._signInManager = signInManager;
     this._logger        = logger;
     this._emailSender   = emailSender;
     this.uploadPhoto    = uploadPhoto;
 }
示例#3
0
 public UserService(IUploadPhotoService uploadPhotoService)
 {
     _uploadPhotoService = uploadPhotoService;
 }
示例#4
0
 public PostsService(IUploadPhotoService uploadPhotoService)
 {
     _uploadPhotoService = uploadPhotoService;
 }
示例#5
0
 public SignupService(IUploadPhotoService uploadPhotoService)
 {
     _uploadPhotoService = uploadPhotoService;
 }