Beispiel #1
0
 public NullCoreSession()
 {
     City         = new SessionCity();
     Company      = new SessionCompany();
     Organization = new SessionOrganization();
     User         = new SessionUser();
     Store        = new SessionStore();
     Broker       = new SessionBroker();
 }
Beispiel #2
0
 public UnitTestCoreSession(string cityId,
                            SessionCompany company,
                            SessionUser user,
                            SessionOrganization organization = default,
                            SessionStore store   = default,
                            SessionBroker broker = default)
 {
     City         = new SessionCity(cityId);
     Company      = company;
     User         = user ?? new SessionUser();
     Organization = organization;
     Store        = store;
     Broker       = broker;
 }