Exemplo n.º 1
0
 public MessageController(IDatingService IdatingService, IMapper mapper, DataContext dataContext)
 {
     this.idatingService = IdatingService;
     this.Mapper         = mapper;
     idatingService      = IdatingService;
     this.dataContext    = dataContext;
 }
Exemplo n.º 2
0
 public AuthController(IAuthService authRepo, SignInManager <User> signInManager, IConfiguration config, IMapper mapper, IDatingService datingService, UserManager <User> _userManager)
 {
     this.authRepo       = authRepo;
     this.config         = config;
     this.datingService  = datingService;
     this._signInManager = signInManager;
     this.mapper         = mapper;
     this._userManager   = _userManager;
 }
Exemplo n.º 3
0
        public PhotosController(IDatingService datingService, IPhotoService photoService, IMapper mapper, IOptions <CloudinarySettings> cloudinaryConfig)
        {
            _datingService    = datingService;
            _photoService     = photoService;
            _mapper           = mapper;
            _cloudinaryConfig = cloudinaryConfig;

            Account acc = new Account(
                _cloudinaryConfig.Value.CloudName,
                _cloudinaryConfig.Value.ApiKey,
                _cloudinaryConfig.Value.ApiSecret);

            _cloudinary = new Cloudinary(acc);
        }
Exemplo n.º 4
0
        public PhotoController(IDatingService IdatingService, IOptions <CloudinarySettings> cloudinaryCofig, IMapper mapper)
        {
            this.IdatingService  = IdatingService;
            this.cloudinaryCofig = cloudinaryCofig;

            Account acc = new Account(

                cloudinaryCofig.Value.CloudName,
                cloudinaryCofig.Value.ApiKey,
                cloudinaryCofig.Value.APiSecret

                );

            cloudinary = new Cloudinary(acc);
        }
Exemplo n.º 5
0
 public UsersController(IDatingService datingService, IMapper mapper)
 {
     this.datingService = datingService;
     this.mapper        = mapper;
 }
Exemplo n.º 6
0
 public DatingServiceControl(IDatingService datingService)
 {
     this._datingService = datingService;
 }
Exemplo n.º 7
0
 public VIPDatingServiceControl(IDatingService datingService) : base(datingService)
 {
 }
 public MessagesController(IDatingService datingService, IMessageService messageService, IMapper mapper)
 {
     _datingService  = datingService;
     _messageService = messageService;
     _mapper         = mapper;
 }
Exemplo n.º 9
0
 public UsersController(IDatingService datingService, IMapper mapper)
 {
     _datingService = datingService;
     _mapper        = mapper;
 }
Exemplo n.º 10
0
 public UsersController(IDatingService IdatingService, IMapper mapper, DataContext dataContext)
 {
     this.IdatingService = IdatingService;
     this.Mapper         = mapper;
     this.dataContext    = dataContext;
 }