Example #1
0
        public void InsertObjectiveInventory(OBJETIVOINVENTARIO ObjectiveInventory)
        {
            try
            {
                this.sifcaRepository.OBJETIVOINVENTARIO.Add(ObjectiveInventory);

            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Example #2
0
        public void UpdateObjectiveInventory(OBJETIVOINVENTARIO ObjectiveInventory)
        {
            try
            {
                this.sifcaRepository.Entry(ObjectiveInventory).State = EntityState.Modified;

            }
            catch (Exception ex)
            {
                throw ex;
            }
        }