public static int vkupnoTrosoci(long temp)
        {
            int             suma      = 0;
            List <Vraboten> vraboteni = VrabotenController.getVraboteniFromFirmaId(temp);

            foreach (Vraboten v in vraboteni)
            {
                suma += v.brutoPlata;
            }
            return(suma);
        }
        public static String generate(long temp)
        {
            List <Vraboten> vraboteni = VrabotenController.getVraboteniFromFirmaId(temp);
            Firma           firma     = FirmaController.GetFirmaById(temp);
            StringBuilder   sb        = new StringBuilder();

            sb.AppendLine(firma.ime + " - " + firma.edb);
            sb.AppendLine("Ime;DatumPriem;EMBG;TransakciskaSmetka;BrutoPlata");
            foreach (Vraboten v in vraboteni)
            {
                DateTime date = v.datumPriem;
                sb.AppendLine(v.ime + ";" + date.ToString("MM/dd/yyyy") + ";" + v.embg + ";" + v.transakciskaSmetka + ";" + v.brutoPlata);
            }
            String finalStr = sb.ToString();

            return(finalStr);
        }