コード例 #1
0
        public static AgenciaDetalle GetDetalle(int agenciaId)
        {
            try
            {
                AgenciaDetalle         item;
                AgenciaDetailsEntity   entity;
                List <AgenciaBitacora> lista;

                entity = AgenciaDao.GetDetalle(agenciaId);
                lista  = CargarBitacora(entity.Bitacora);
                item   = AgenciaMapper.GetAgenciaDetalle(entity);
                item.ListaDeBitacora = lista;

                return(item);
            }
            catch (Exception)
            {
                throw;
            }
        }