/// <summary>
        /// Se obtiene lotes
        /// </summary>
        /// <param name="almacenesInventario"></param>
        /// <returns></returns>
        internal IList <AlmacenInventarioLoteInfo> ObtenerLotesPorAlmacenInventarioXML(List <AlmacenInventarioInfo> almacenesInventario)
        {
            IList <AlmacenInventarioLoteInfo> almacenInventarioLote;

            try
            {
                Logger.Info();
                var almacenDAL = new AlmacenInventarioLoteDAL();
                almacenInventarioLote = almacenDAL.ObtenerLotesPorAlmacenInventarioXML(almacenesInventario);
            }
            catch (Exception ex)
            {
                Logger.Error(ex);
                throw new ExcepcionDesconocida(MethodBase.GetCurrentMethod(), ex);
            }

            return(almacenInventarioLote);
        }