예제 #1
0
        /// <summary>
        /// Permita el listado de Cuotas
        /// </summary>
        /// <param name="pPeriodo"></param>
        /// <returns></returns>
        public List <Cuota> ListarCuota(string pPeriodo)
        {
            List <Cuota> lstCuota = new List <Cuota>();

            try
            {
                cuotaDAO = new CuotaDAO();

                lstCuota = cuotaDAO.Listar(pPeriodo);
            }
            catch (Exception exception)
            {
                throw new FaultException <RetornaMensaje>
                          (new RetornaMensaje
                {
                    Mensage     = string.Format(resMensajes.msjNoListado, "Cuota"),
                    CodigoError = exception.GetHashCode().ToString(),
                    Exito       = true
                }
                          , new FaultReason(exception.Message));
            }
            return(lstCuota);
        }