Beispiel #1
0
        public static void UpdateTrosak(PrihodTrosak trosak)
        {
            string cs = ConfigurationManager.ConnectionStrings["csPRA15IPTim1"].ConnectionString;

            SqlHelper.ExecuteNonQuery(cs, "UpdateTrosak", trosak.IDPrihodTrosak, trosak.Iznos, trosak.DatumVrijeme);
        }
Beispiel #2
0
        public static void SpremiTrosak(PrihodTrosak trosak)
        {
            string cs = ConfigurationManager.ConnectionStrings["csPRA15IPTim1"].ConnectionString;

            SqlHelper.ExecuteNonQuery(cs, "SpremiPrihod", trosak.Iznos, trosak.DatumVrijeme, trosak.Aktivno, trosak.UserId, trosak.KategorijaID, trosak.ValutaID);
        }