// GET: EczaneNobet/EczaneNobetSonucAktif/Details/5
        public ActionResult Details(int id)
        {
            if (id == 0)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            EczaneNobetSonucAktif eczaneNobetSonucAktif = _eczaneNobetSonucAktifService.GetById(id);

            if (eczaneNobetSonucAktif == null)
            {
                return(HttpNotFound());
            }
            return(View(eczaneNobetSonucAktif));
        }
        // GET: EczaneNobet/EczaneNobetSonucAktif/Edit/5
        public ActionResult Edit(int id)
        {
            if (id == 0)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            EczaneNobetSonucAktif eczaneNobetSonucAktif = _eczaneNobetSonucAktifService.GetById(id);

            if (eczaneNobetSonucAktif == null)
            {
                return(HttpNotFound());
            }
            ViewBag.EczaneNobetGrupId = new SelectList(_eczaneNobetGrupService.GetList(), "Id", "EczaneId", eczaneNobetSonucAktif.EczaneNobetGrupId);
            ViewBag.TakvimId          = new SelectList(_takvimService.GetList(), "Id", "Tarih", eczaneNobetSonucAktif.TakvimId);
            return(View(eczaneNobetSonucAktif));
        }