Exemplo n.º 1
0
        public List <SISEInc_Result> GetSISEInc(int cotizacionID, int cotizacionLogID)
        {
            IMainModuleUnitOfWork activeContext = this.UnitOfWork as IMainModuleUnitOfWork;

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