示例#1
0
        public IDictionary <DateTime, decimal> GenerarPlanPagosFechas(int iddist, Pago item)
        {
            var _process = new BusinessLogic.Process();
            var ctxcr    = new DataAccess.SirCoCreditoDataContext();
            var dist     = ctxcr.Distribuidores.Where(i => i.iddistrib == iddist).Single();
            var fechas   = new HashSet <DataAccess.SirCoCredito.Calendario>();
            var helper   = new BusinessLogic.Data();
            var blindaje = helper.GetParametro <decimal?>(Parametros.BLINDAJE);
            var detalle  = _process.GenerarPlanPagosFechas(DateTime.Now, item, dist, fechas, blindaje);

            return(detalle);
        }
示例#2
0
 public ReturnUnitTest()
 {
     _context = new BusinessLogic.Process();
 }
示例#3
0
 public ChangeUnitTest()
 {
     _context = new BusinessLogic.Process();
 }
示例#4
0
 public CommonUnitTest()
 {
     _helpers = new BusinessLogic.Data();
     _sale    = new BusinessLogic.Sale();
     _process = new BusinessLogic.Process();
 }
示例#5
0
 public ProcessService()
 {
     _process = new BusinessLogic.Process();
 }
示例#6
0
 public Service()
 {
     _sale    = new BusinessLogic.Sale();
     _process = new BusinessLogic.Process();
 }
示例#7
0
 public CancelUnitTest()
 {
     _context = new BusinessLogic.Process();
     _sale    = new BusinessLogic.Sale();
 }
示例#8
0
 public DefaultController(ILogger log, BusinessLogic.Process process)
 {
     _process = process;
     _log     = log;
 }