public async Task <ActionResult> DeleteConfirmed(int id)
        {
            FiberNodeBaglanti fiberNodeBaglanti = await db.FiberNodeBaglantis.FindAsync(id);

            db.FiberNodeBaglantis.Remove(fiberNodeBaglanti);
            await db.SaveChangesAsync();

            return(RedirectToAction("Index"));
        }
        public async Task <ActionResult> Edit([Bind(Include = "FiberNodeBaglantiId,BaglantiId,BaglantiNode,GirisDevre,BaglantiGirisNode,BaglantiGirisNodeDevre")] FiberNodeBaglanti fiberNodeBaglanti)
        {
            if (ModelState.IsValid)
            {
                db.Entry(fiberNodeBaglanti).State = EntityState.Modified;
                await db.SaveChangesAsync();

                return(RedirectToAction("Index"));
            }
            return(View(fiberNodeBaglanti));
        }
        public async Task <ActionResult> Create([Bind(Include = "FiberNodeBaglantiId,BaglantiId,BaglantiNode,GirisDevre,BaglantiGirisNode,BaglantiGirisNodeDevre")] FiberNodeBaglanti fiberNodeBaglanti)
        {
            if (ModelState.IsValid)
            {
                db.FiberNodeBaglantis.Add(fiberNodeBaglanti);
                await db.SaveChangesAsync();

                return(RedirectToAction("Index"));
            }

            return(View(fiberNodeBaglanti));
        }
        // GET: FiberNodeBaglantis/Delete/5
        public async Task <ActionResult> Delete(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            FiberNodeBaglanti fiberNodeBaglanti = await db.FiberNodeBaglantis.FindAsync(id);

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