public AvatarUploadService(
     CmsContext ctx,
     IUserService userService,
     IAvatarImageService avatarImageService,
     IAvatarImageStorageService avatarImageStorageService
     )
 {
     _ctx                       = ctx;
     _userService               = userService;
     _avatarImageService        = avatarImageService;
     _avatarImageStorageService = avatarImageStorageService;
 }
Beispiel #2
0
 public UserController(
     IUserService userService,
     IConfiguration configuration,
     IJwtTokenHelper tokenHelper,
     IMapper mapper,
     IAvatarImageStorageService avatarStorageService,
     IAvatarUploadService avatarUploadService
     )
 {
     _userService          = userService;
     _configuration        = configuration;
     _tokenHelper          = tokenHelper;
     _mapper               = mapper;
     _avatarStorageService = avatarStorageService;
     _avatarUploadService  = avatarUploadService;
 }