public void InsertWeather(Models.Models.WeatherForecast weatherForecast) { var insertWeather = mapper.Map <Models.DBContexts.WeatherForecast>(weatherForecast); _trackerDbContext.Add(insertWeather); Save(); }
public void InsertWeather(Models.Models.WeatherForecast weatherForecast) { var insertWeather = mapper.Map <Models.DBContexts.WeatherForecast>(weatherForecast); _trackerDbContext.Add(insertWeather); Save(); }