public ActionResult Create(OrganizacioneJedinice organizacionejedinice)
        {
            if (ModelState.IsValid)
            {
                db.OrganizacioneJedinice.Add(organizacionejedinice);
                db.SaveChanges();
                return RedirectToAction("Index");
            }

            ViewBag.Sektor_Id = new SelectList(db.Sektori, "Id", "Sifra", organizacionejedinice.Sektor_Id);
            return View(organizacionejedinice);
        }
 public ActionResult Edit(OrganizacioneJedinice organizacionejedinice)
 {
     if (ModelState.IsValid)
     {
         db.Entry(organizacionejedinice).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     ViewBag.Sektor_Id = new SelectList(db.Sektori, "Id", "Sifra", organizacionejedinice.Sektor_Id);
     return View(organizacionejedinice);
 }