Exemple #1
0
 public void DelEquipmentEffect(EquipmentMaintEffect delEquipmentEffect)
 {
     try
     {
         _equipmentEffectDal.Delete(delEquipmentEffect);
     }
     catch (RepositoryException ex)
     {
         throw ex;
     }
 }
Exemple #2
0
        ///
        /// <param name="newEquipmentEffect"></param>
        public EquipmentMaintEffect UpdateEquipmentEffect(EquipmentMaintEffect newEquipmentEffect)
        {
            EquipmentMaintEffect returnEquipmentEffect = null;

            try
            {
                _equipmentEffectDal.Update(newEquipmentEffect);
                returnEquipmentEffect = newEquipmentEffect;
            }
            catch (RepositoryException ex)
            {
                throw ex;
            }
            return(returnEquipmentEffect);
        }