public void Delete(Guid id) { var temperatureToDelete = _context.ForecastTemperatures.Single(x => x.Id == id); _context.Remove(temperatureToDelete); }
public void Delete(Guid id) { var weekToDelete = _context.ForecastWeeks.Single(x => x.Id == id); _context.Remove(weekToDelete); }