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; }
// // GET: /Product/ public UserController(IUserSrvc userServiceParam, IOrderSrvc orderServiceParam) { userService = userServiceParam; orderService = orderServiceParam; }