Beispiel #1
0
        public ApplicationOAuthProvider(string publicClientId)
        {
            if (publicClientId == null)
            {
                throw new ArgumentNullException("publicClientId");
            }

            _publicClientId = publicClientId;

            IGenericUoW _UoW             = new GenericUoW();
            IUserSrvc   userServiceParam = new UserSrvc(_UoW);

            this._userService = userServiceParam;
        }
Beispiel #2
0
 //
 // GET: /Product/
 public UserController(IUserSrvc userServiceParam, IOrderSrvc orderServiceParam)
 {
     userService  = userServiceParam;
     orderService = orderServiceParam;
 }