示例#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));
        }