// GET api/Prijava/5
        public Prijava Get(int id)
        {
            PrijavaDataProvider provider = new PrijavaDataProvider();

            return(provider.GetPrijava(id));
        }
        //POST api/Prijava
        public Prijava Post([FromBody] PrijavaDTO g)
        {
            PrijavaDataProvider provider = new PrijavaDataProvider();

            return(provider.AddPrijava(g));
        }
        // GET /api/Prijava
        public IEnumerable <Prijava> Get()
        {
            PrijavaDataProvider provider = new PrijavaDataProvider();

            return(provider.GetPrijava());
        }