Exemplo n.º 1
0
        public List <SelectTextosPrimaPresentacion_Result> GetCotizacionPresentacionTextos(int cotizacionID)
        {
            IMainModuleUnitOfWork activeContext = this.UnitOfWork as IMainModuleUnitOfWork;

            if (activeContext != null)
            {
                //perform operation in this repository
                return(activeContext.SelectTextosPrimaPresentacion(cotizacionID).ToList());
            }
            else
            {
                throw new InvalidOperationException(string.Format(
                                                        CultureInfo.InvariantCulture,
                                                        Messages.exception_InvalidStoreContext,
                                                        this.GetType().Name));
            }
        }