Contact Form

Name

Email *

Message *

EF Core Power Tool With Visual Studio

No comments

 


Setp 1 

To Download  from  Click here

Step 2 






private readonly StudentContext _logger1;
  public WeatherForecastController(ILogger<WeatherForecastController> logger, StudentContext logger1 = null)
        {
            _logger = logger;
            _logger1 = logger1;
        }
 [HttpGet]
        public IEnumerable<WeatherForecast> Get()
        {
            var rng = new Random();
            var ss= _logger1.Cities.ToList();
            var ss1 =  _logger1.GetProcedures().SpGet_AccountAsync().Result.ToArray();
           // var ss1 =  _logger1.GetProcedures().SpGetbyLogin_Student_UsersAsync("admin","123").Result.ToArray();
            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();
        }
         

   var ss= _logger1.Cities.ToList();
     var ss1 =  _logger1.GetProcedures().SpGet_AccountAsync().Result.ToArray();





No comments :

Post a Comment