Exemple #1
0
 public int Get()
 {
     return(_singletonDependency.GetNextCounter());
     // var rng = new Random();
     // return Enumerable.Range(1, 5).Select(index => new WeatherForecast
     //     {
     //         Date = DateTime.Now.AddDays(index),
     //         TemperatureC = rng.Next(-20, 55),
     //         Summary = Summaries[rng.Next(Summaries.Length)]
     //     })
     //     .ToArray();
 }
 public string Get()
 {
     return($"Next count: {singletonDependecy.GetNextCounter()}");
 }