public void InsertObjectiveInventory(OBJETIVOINVENTARIO ObjectiveInventory) { try { this.sifcaRepository.OBJETIVOINVENTARIO.Add(ObjectiveInventory); } catch (Exception ex) { throw ex; } }
public void UpdateObjectiveInventory(OBJETIVOINVENTARIO ObjectiveInventory) { try { this.sifcaRepository.Entry(ObjectiveInventory).State = EntityState.Modified; } catch (Exception ex) { throw ex; } }