public List <ITenant> ListTenants() { DalTenant dal = new DalTenant(this.storageAccount, this.container); return(dal.List().ConvertAll <ITenant>(tenant => tenant)); }
public void DeleteTenant(ITenant tenant) { DalTenant dal = new DalTenant(this.storageAccount, this.container); dal.Delete(tenant as Tenant); }
public ITenant GetTenant(string identifier) { DalTenant dal = new DalTenant(this.storageAccount, this.container); return(dal.Get(identifier)); }