// GET: /Forecast/Edit/777
        public ActionResult Edit(int?id)
        {
            if (!id.HasValue)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            Forecast forecast = _iweatherRepository.FindForecastById(id.Value);

            if (forecast == null)
            {
                return(HttpNotFound());
            }

            return(View(forecast));
        }