public IActionResult Get() { return(Ok(_tenantRepository.GetTenants())); }
public IEnumerable <Tenant> GetTenants() { return(_repository.GetTenants()); }