public PaymentService(
			IUSerService userService, 
			IGatewayService gatewayService)
		{
			_userService = userService;
			_gatewayService = gatewayService;
		}
		public void Setup()
		{
			_userService = A.Fake<IUSerService>();
			_gatewayService = A.Fake<IGatewayService>();
			_paymentService = new PaymentService(_userService, _gatewayService);
			
		}
        public UsersViewModel()
        {
            Title        = "Users";
            Users        = new ObservableCollection <User>();
            _userService = new UserService();
            ExecuteLoadUserCommand();

            MessagingCenter.Subscribe <UserDetailViewModel, User>(this, "UserAdded", async(obj, item) =>
            {
                var _user = item as User;
                await _userService.SaveUser(_user);
                ExecuteLoadUserCommand();
            });
        }
Exemplo n.º 4
0
 public UserController(IUSerService userService)
 {
     _userService = userService;
 }
Exemplo n.º 5
0
 public AccountController(IUSerService service)
 {
     this.service = service;
 }
Exemplo n.º 6
0
 public CommentsController(IUSerService service, IService <Comments> commentService)
 {
     this.userService    = service;
     this.commentService = commentService;
 }
Exemplo n.º 7
0
 public Handler(DataContext context, UserManager <AppUser> userManager, IUSerService userService)
 {
     _context     = context;
     _userManager = userManager;
     _userService = userService;
 }
 public AuthJwtService(IUSerService userService, AppSettings appSettings)
 {
     _userService = userService;
     _appSettings = appSettings;
 }
Exemplo n.º 9
0
 public PostsController(IPostService service, IService <Comments> commentService, IUSerService userService)
 {
     this.postService    = service;
     this.commentService = commentService;
     this.userService    = userService;
 }
Exemplo n.º 10
0
 public RegisterController(IUSerService userService, IFileService fileService)
 {
     _userService = userService;
     _fileService = fileService;
 }
Exemplo n.º 11
0
 public LoginController(IUSerService userService, UserContext userContext)
 {
     _userService = userService;
     _userContext = userContext;
 }