Ejemplo n.º 1
0
        public List<up_IFCDC_Editar_HallazgoResult> editarHallazgo(int hallazgoId, int informeFinCicloId, String descripcion)
        {
            SSIA2013DataContext dataContext = null;
            try
            {
                dataContext = new SSIA2013DataContext(ConfigurationManager.ConnectionStrings["CSSSIA2013"].ToString());
                List<up_IFCDC_Editar_HallazgoResult> lstHallazgos = dataContext.up_IFCDC_Editar_Hallazgo(hallazgoId, descripcion, informeFinCicloId).ToList();

                return lstHallazgos;
            }
            catch (Exception ex)
            {
                throw ex;
            }
            finally
            {
                if (dataContext != null)
                {
                    dataContext.Dispose();
                }
            }
        }