Пример #1
0
 public UserServices(DPOContext context)
     : base(context)
 {
     permissionService = new PermissionServices(this.Context);
     addressService    = new AddressServices(this.Context);
     contactService    = new ContactServices(this.Context);
     businessService   = new BusinessServices(this.Context);
     htmlService       = new HtmlServices(this.Context);
 }
Пример #2
0
        public DaikinServices(DPOContext context)
            : base(context)
        {
            daikinSuperUser = new AccountServices().GetSuperUserSessionModel().Model as UserSessionModel;
            quoteServices   = new QuoteServices(this.Context);
            businessService = new BusinessServices(this.Context);

            client = new CrmServiceClient(Utilities.Config("dpo.webservices.endpoint"));
        }