public ActionResult SpremiOrganizatora(int Id, string Adresa, string Naziv, string OIB, bool pdv)
        {
            if (Id > 0)
            {
                LK_Organizator org = AdriaTicketData.LK_Organizators.FirstOrDefault(x => x.ORG_Id == Id);
                org.ORG_Naziv = Naziv;
                org.ORG_FlagPDV = pdv;
                org.ORG_Adresa = Adresa;
                org.ORG_OIB = OIB;
            }
            else
            {
                LK_Organizator org = new LK_Organizator();
                org.ORG_Naziv = Naziv;
                org.ORG_FlagPDV = pdv;
                org.ORG_Adresa = Adresa;
                org.ORG_OIB = OIB;
                org.ORG_Stanje = 'A';
                org.ORG_Timestamp = DateTime.Now;
                AdriaTicketData.LK_Organizators.InsertOnSubmit(org);
            }

            AdriaTicketData.SubmitChanges();

            return Json("completed", JsonRequestBehavior.AllowGet);
        }
 partial void UpdateLK_Organizator(LK_Organizator instance);
 partial void DeleteLK_Organizator(LK_Organizator instance);
 partial void InsertLK_Organizator(LK_Organizator instance);