Beispiel #1
0
        public IActionResult GetTariffs()
        {
            var tariffs = HostedSolution.GetTenantQuotas()
                          .Where(q => !q.Trial && !q.Free && !q.Open)
                          .OrderBy(q => q.ActiveUsers)
                          .ThenByDescending(q => q.Id)
                          .Select(q => ToTariffWrapper(null, q));

            return(Ok(new
            {
                tariffs
            }));
        }