コード例 #1
0
 public PostController()
 {
     _shipperHndBcontext  = new ShipperHNDBcontext();
     Control              = new LogControl();
     _postBusiness        = new PostBusiness(_shipperHndBcontext);
     _phoneNumberBusiness = new PhoneNumberBusiness(_shipperHndBcontext);
     _logControl          = new LogControl();
 }
コード例 #2
0
        public FetchData(ShipperHNDBcontext shipperHndBcontext)
        {
            _logControl   = new LogControl();
            _clientId     = WebConfigurationManager.AppSettings["CLIENT_ID"];
            _clientSecret = WebConfigurationManager.AppSettings["CLIENT_SECRET"];
            _idgroup1     = WebConfigurationManager.AppSettings["IDGROUP1"];
            _idgroup2     = WebConfigurationManager.AppSettings["IDGROUP2"];

            _shipperHndBcontext  = shipperHndBcontext;
            _postBusiness        = new PostBusiness(_shipperHndBcontext);
            _userBusiness        = new UserBusiness(_shipperHndBcontext);
            _phoneNumberBusiness = new PhoneNumberBusiness(_shipperHndBcontext);
        }
コード例 #3
0
        public UserController()
        {
            var shipperHndBcontext = new ShipperHNDBcontext();

            _userBusiness = new UserBusiness(shipperHndBcontext);
        }
コード例 #4
0
        public CommentController()
        {
            ShipperHNDBcontext shipperHndBcontext = new ShipperHNDBcontext();

            _commentBusiness = new CommentBusiness(shipperHndBcontext);
        }
コード例 #5
0
 public NotificationBusiness(ShipperHNDBcontext shipperHndBcontext)
 {
     _shipperHndBcontext = shipperHndBcontext;
 }