public Model.Data.ObrazacRSmA2005A InsertResult(Model.Data.Item.ObrazacRSmA2005AItem item) { Model.Data.ObrazacRSmA2005A rezultat; try { rezultat = _repository.InsertResult(item).FirstOrDefault(); } catch (Exception ex) { Model.Admin.StatusPoruka poruka = _admin.AddLogGetException((ex.InnerException != null ? ex.InnerException.ToString() : ex.Message.ToString()), ex.StackTrace.ToString(), _korisnik_data); InLine.Repository.Data.Helper.CommonFunctions.StaviPorukuUSession(poruka, _korisnik_data); rezultat = null; } return(rezultat); }
public IList <Model.Admin.StatusPoruka> Insert(Model.Data.Item.ObrazacRSmA2005AItem item) { IList <Model.Admin.StatusPoruka> poruke = new List <Model.Admin.StatusPoruka>(); try { _repository.Insert(item); } catch (Exception ex) { Model.Admin.StatusPoruka poruka = _admin.AddLogGetException((ex.InnerException != null ? ex.InnerException.ToString() : ex.Message.ToString()), ex.StackTrace.ToString(), _korisnik_data); InLine.Repository.Data.Helper.CommonFunctions.StaviPorukuUSession(poruka, _korisnik_data); poruke.Add(poruka); } return(poruke); }
public int DeleteResult(Model.Data.Item.ObrazacRSmA2005AItem item) { int rezultat = 0; try { //rezultat = Convert.ToInt32(_repository.DeleteResult(item)); ObjectResult <Nullable <Int32> > totalRecordsCount_rezult = _repository.DeleteResult(item); rezultat = Convert.ToInt32(totalRecordsCount_rezult.ElementAt(0)); } catch (Exception ex) { Model.Admin.StatusPoruka poruka = _admin.AddLogGetException((ex.InnerException != null ? ex.InnerException.ToString() : ex.Message.ToString()), ex.StackTrace.ToString(), _korisnik_data); InLine.Repository.Data.Helper.CommonFunctions.StaviPorukuUSession(poruka, _korisnik_data); } return(rezultat); }
public void Insert(Model.Data.Item.ObrazacRSmA2005AItem item) { _context.USP_ObrazacRSmA2005A_INSERT(item.ID_ObrazacRSm, item.Identifikator, item.Mjesec, item.Godina, item.BrojOsiguranika, item.ObveznikNaziv, item.ObveznikAdresa, item.ObveznikIdentifikacijskiBroj, item.ObveznikVrsta, item.IznosObracunDohodak, item.IznosDoprinosOsnova, item.IznosDoprinosMIO1, item.IznosDoprinosMIO2, item.IznosIsplataDohodak, item.GodinaIsplataDohodak, item.MjesecIsplataDohodak, item.Hash); }
public ObjectResult <Model.Data.ObrazacRSmA2005A> UpdateResult(Model.Data.Item.ObrazacRSmA2005AItem item) { return(_context.USP_ObrazacRSmA2005A_UPDATE(item.ID_ObrazacRSmA2005A, item.ID_ObrazacRSm, item.Identifikator, item.Mjesec, item.Godina, item.BrojOsiguranika, item.ObveznikNaziv, item.ObveznikAdresa, item.ObveznikIdentifikacijskiBroj, item.ObveznikVrsta, item.IznosObracunDohodak, item.IznosDoprinosOsnova, item.IznosDoprinosMIO1, item.IznosDoprinosMIO2, item.IznosIsplataDohodak, item.GodinaIsplataDohodak, item.MjesecIsplataDohodak, item.Hash)); }
public void Delete(Model.Data.Item.ObrazacRSmA2005AItem item) { _context.USP_ObrazacRSmA2005A_DELETE(item.ID_ObrazacRSmA2005A); }
public ObjectResult <int?> DeleteResult(Model.Data.Item.ObrazacRSmA2005AItem item) { return(_context.USP_ObrazacRSmA2005A_DELETE(item.ID_ObrazacRSmA2005A)); }
public ObjectResult <Model.Data.ObrazacRSmA2005A> UpdateResult(Model.Data.Item.ObrazacRSmA2005AItem item) { return(base.UpdateResult(item)); }
public void Update(Model.Data.Item.ObrazacRSmA2005AItem item) { base.Update(item); }
public void Insert(Model.Data.Item.ObrazacRSmA2005AItem item) { base.Insert(item); }
public ObjectResult <int?> DeleteResult(Model.Data.Item.ObrazacRSmA2005AItem item) { return(base.DeleteResult(item)); }
public void Delete(Model.Data.Item.ObrazacRSmA2005AItem item) { base.Delete(item); }