Beispiel #1
0
 public DishService(
     IIntelligentCookingUnitOfWork unitOfWork,
     IImageService imageService,
     IMapper mapper)
 {
     _unitOfWork   = unitOfWork;
     _imageService = imageService;
     _mapper       = mapper;
 }
Beispiel #2
0
 public TokenService(
     IIntelligentCookingUnitOfWork unitOfWork,
     IOptions <JwtSettings> jwtOptions,
     TokenValidationParameters tokenValidationParameters,
     UserManager <User> userManager)
 {
     _unitOfWork = unitOfWork;
     _tokenValidationParameters = tokenValidationParameters;
     _userManager = userManager;
     _jwtSettings = jwtOptions.Value;
 }
Beispiel #3
0
 public FavouriteService(IIntelligentCookingUnitOfWork unitOfWork, IMapper mapper)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
 }
 public RatingService(IIntelligentCookingUnitOfWork unitOfWork, IMapper mapper)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
 }
Beispiel #5
0
 public UserTokenCollector(IIntelligentCookingUnitOfWork unitOfWork)
 {
     _unitOfWork = unitOfWork;
 }
 public CategoryService(IIntelligentCookingUnitOfWork unitOfWork, IMapper mapper, IImageService imageService)
 {
     _unitOfWork   = unitOfWork;
     _mapper       = mapper;
     _imageService = imageService;
 }
 public IngredientService(IIntelligentCookingUnitOfWork unitOfWork, IMapper mapper)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
 }