Пример #1
0
 public AvatarUploadService(
     CmsContext ctx,
     IUserService userService,
     IAvatarImageService avatarImageService,
     IAvatarImageStorageService avatarImageStorageService
     )
 {
     _ctx                       = ctx;
     _userService               = userService;
     _avatarImageService        = avatarImageService;
     _avatarImageStorageService = avatarImageStorageService;
 }
Пример #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;
 }