public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            OgloszenieDetailsViewModel ogloszenie = _repo.GetOgloszeniaById((int)id);

            if (ogloszenie == null)
            {
                return(HttpNotFound());
            }
            return(View(ogloszenie));
        }