Пример #1
0
        public List <ITenant> ListTenants()
        {
            DalTenant dal = new DalTenant(this.storageAccount, this.container);

            return(dal.List().ConvertAll <ITenant>(tenant => tenant));
        }
Пример #2
0
        public void DeleteTenant(ITenant tenant)
        {
            DalTenant dal = new DalTenant(this.storageAccount, this.container);

            dal.Delete(tenant as Tenant);
        }
Пример #3
0
        public ITenant GetTenant(string identifier)
        {
            DalTenant dal = new DalTenant(this.storageAccount, this.container);

            return(dal.Get(identifier));
        }