public OperatorController(IUserContext userContext, IClientsService clientsService, IClientProfileService clientProfileService) : base(userContext) { Contract.Requires<ArgumentNullException>(clientsService.IsNotNull()); Contract.Requires<ArgumentNullException>(clientProfileService.IsNotNull()); this.clientsService = clientsService; }
public KycStatusChangeJob(ISubscriber <IReadOnlyList <PersonalDataUpdateMessage> > personalDataUpdateSubscriber, IPersonalDataServiceGrpc personalDataServiceGrpc, ILogger <KycStatusChangeJob> logger, IClientProfileService clientProfileService) { _personalDataServiceGrpc = personalDataServiceGrpc; _logger = logger; _clientProfileService = clientProfileService; personalDataUpdateSubscriber.Subscribe(HandleKycStatusUpdate); }
public ClientProfileController(IClientService clientService, IClientProfileService clientProfileService, IHttpContextAccessor httpContextAccessor, UserManager <IdentityUser> _userManager, SignInManager <IdentityUser> _signInManager, IOptions <AppSettings> appSettings, IMapper mapper) { this._userManager = _userManager; this._signInManager = _signInManager; _appSettings = appSettings.Value; _httpContextAccessor = httpContextAccessor; _clientProfileService = clientProfileService; _mapper = mapper; _clientService = clientService; }
public ClientService(IMapper mapper, IHttpContextAccessor httpContextAccessor, UserManager <IdentityUser> _userManager, SignInManager <IdentityUser> _signInManager, IOptions <AppSettings> appSettings, IClientProfileService clientProfileService, ApplicationDbContext dbContext) { this._userManager = _userManager; this._signInManager = _signInManager; _appSettings = appSettings.Value; _httpContextAccessor = httpContextAccessor; _dbContext = dbContext; _mapper = mapper; _userId = httpContextAccessor.HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value; _clientProfileService = clientProfileService; }
public ClientProfileController( IClientProfileService clientProfileService, IClientProfileManager clientProfileManager, IUserContext userContext, ICreditManager creditManager, IPaymentService paymentService) : base(userContext) { Contract.Requires <ArgumentNullException>(clientProfileService.IsNotNull()); Contract.Requires <ArgumentNullException>(clientProfileManager.IsNotNull()); this.clientProfileService = clientProfileService; this.clientProfileManager = clientProfileManager; this.creditManager = creditManager; this.paymentService = paymentService; }
public ClientProfileController( IClientProfileService clientProfileService, IUserService userService, IPhotoService photoService) { _clientProfileService = clientProfileService; _userService = userService; _photoService = photoService; _mapper = new Mapper(new MapperConfiguration(cfg => { cfg.CreateMap <ClientProfileDto, ClientProfileViewModel>(); cfg.CreateMap <PhotoDto, PhotoViewModel>(); cfg.CreateMap <LikeDto, LikeViewModel>(); })); }
public ClientProfileController( IClientProfileService clientProfileService, IClientProfileManager clientProfileManager, IUserContext userContext, ICreditManager creditManager, IPaymentService paymentService) : base(userContext) { Contract.Requires<ArgumentNullException>(clientProfileService.IsNotNull()); Contract.Requires<ArgumentNullException>(clientProfileManager.IsNotNull()); this.clientProfileService = clientProfileService; this.clientProfileManager = clientProfileManager; this.creditManager = creditManager; this.paymentService = paymentService; }
public ClientProfileManager( IClientProfileService clientProfileService, ICitiesService citiesService, ICountriesService countriesService, IRepository<Property> propertyRepository, IObligationRepository obligationRepository) { Contract.Requires<ArgumentNullException>(clientProfileService.IsNotNull()); Contract.Requires<ArgumentNullException>(citiesService.IsNotNull()); Contract.Requires<ArgumentNullException>(countriesService.IsNotNull()); this.clientProfileService = clientProfileService; this.citiesService = citiesService; this.countriesService = countriesService; this.propertyRepository = propertyRepository; this.obligationRepository = obligationRepository; }
public ClientProfileManager( IClientProfileService clientProfileService, ICitiesService citiesService, ICountriesService countriesService, IRepository <Property> propertyRepository, IObligationRepository obligationRepository) { Contract.Requires <ArgumentNullException>(clientProfileService.IsNotNull()); Contract.Requires <ArgumentNullException>(citiesService.IsNotNull()); Contract.Requires <ArgumentNullException>(countriesService.IsNotNull()); this.clientProfileService = clientProfileService; this.citiesService = citiesService; this.countriesService = countriesService; this.propertyRepository = propertyRepository; this.obligationRepository = obligationRepository; }
public CreditController( ICreditService creditService, IUserContext userContext, IClientProfileService clientProfileService, IUserService userService, ILoanRequestsService loanRequestsService, ICreditManager creditManager, IMailService mailService, IEmailTemplatesService emailTemplatesService) : base(userContext) { Contract.Requires <ArgumentNullException>(creditService.IsNotNull()); this._creditService = creditService; this._clientProfileService = clientProfileService; this.userService = userService; this.loanRequestsService = loanRequestsService; this.creditManager = creditManager; this.mailService = mailService; this.emailTemplatesService = emailTemplatesService; }
public CreditController( ICreditService creditService, IUserContext userContext, IClientProfileService clientProfileService, IUserService userService, ILoanRequestsService loanRequestsService, ICreditManager creditManager, IMailService mailService, IEmailTemplatesService emailTemplatesService) : base(userContext) { Contract.Requires<ArgumentNullException>(creditService.IsNotNull()); this._creditService = creditService; this._clientProfileService = clientProfileService; this.userService = userService; this.loanRequestsService = loanRequestsService; this.creditManager = creditManager; this.mailService = mailService; this.emailTemplatesService = emailTemplatesService; }
public ProfileController(ILayoutService layoutService, IClientProfileService clientProfileService, IPostService postService, IPostTypeService postTypeService, IPostVoteDetailService postVoteDetailService, ICommentService commentOfPost, ICommentVoteDetailService commentVoteDetailService, IClientFriendService friendService ) : base(layoutService) { _clientProfileService = clientProfileService; _postService = postService; _postTypeService = postTypeService; _postVoteDetailService = postVoteDetailService; _commentOfPost = commentOfPost; _commentVoteDetailService = commentVoteDetailService; _friendService = friendService; }
public AccountController(IClientProfileService servC) { clientSevice = servC; }
public PhotoController(IClientProfileService servCP, IPhotoService servP, ICommentService servC) { clientService = servCP; photoService = servP; commentService = servC; }
public ClientProfileApiController(IClientProfileService clientProfileService) { _clientProfileService = clientProfileService; }
public AdminController(IClientProfileService servC, IPhotoService servP) { clientService = servC; photoService = servP; }
public ClientProfileController(ApplicationProperties properties, IClientProfileService clientProfileService) : base(properties) { this.clientProfileService = clientProfileService; }
public OperatorController(IUserContext userContext, IClientsService clientsService, IClientProfileService clientProfileService) : base(userContext) { Contract.Requires <ArgumentNullException>(clientsService.IsNotNull()); Contract.Requires <ArgumentNullException>(clientProfileService.IsNotNull()); this.clientsService = clientsService; }