Example #1
0
 public BaseController(IMemoryCache cache, IHeaderViewModel headerViewModel, IADUserViewModel aDUserViewModel, IActionViewModel actionViewModel, IUserUtil userUtil, IBitacora bitacora)
 {
     MemoryCache     = cache;
     HeaderViewModel = headerViewModel;
     ADUserViewModel = aDUserViewModel;
     ActionViewModel = actionViewModel;
     Bitacora        = bitacora;
     UserUtil        = userUtil;
 }
Example #2
0
 public void EstatusEnvio()
 {
     if (solicitudEnvio.dtFechaEntrega < solicitudEnvio.dtFechaActual)
     {
         Mensaje  = new Mensaje(solicitudEnvio);
         Bitacora = new Bitacoraentrega(solicitudEnvio.cPaqueteria, solicitudEnvio.cTipotiempo);
     }
     else
     {
         Mensaje  = new MensajeEnCamino(solicitudEnvio);
         Bitacora = new BitacoraPendiente(solicitudEnvio.cPaqueteria, solicitudEnvio.cTipotiempo);
     }
 }
Example #3
0
 public LoginController(IMemoryCache cache, ILoginService loginService, IHeaderViewModel headerViewModel, IADUserViewModel aDUserViewModel,
                        IActionViewModel actionViewModel, IUserUtil userUtil, IUserProfile userProfile, IBitacora bitacora) :
     base(cache, headerViewModel, aDUserViewModel, actionViewModel, userUtil, bitacora)
 {
     LoginService = loginService;
     UserProfile  = userProfile;
 }
Example #4
0
        public FormsBoardController(IMemoryCache cache, IFormsBoardViewModel formsBoardViewModel, IHeaderViewModel headerViewModel, IFormRequestService formRequestService,
                                    IFormXmlService formXmlService, IADUserViewModel aDUserViewModel, IActionViewModel actionViewModel, IUserUtil userUtil, IBitacora bitacora) :
            base(cache, headerViewModel, aDUserViewModel, actionViewModel, userUtil, bitacora)
        {
            FormRequestService  = formRequestService;
            FormsBoardViewModel = formsBoardViewModel;
            FormXmlService      = formXmlService;

            LoadBaseViewModel(FormsBoardViewModel);
        }
Example #5
0
        public DesktopController(IMemoryCache cache, IDesktopViewModel desktopViewModel, IHeaderViewModel headerViewModel, IFormRequestService formRequestService,
                                 IADUserViewModel aDUserViewModel, IActionViewModel actionViewModel, IUserUtil userUtil, IBitacora bitacora, IHostingEnvironment environment) :
            base(cache, headerViewModel, aDUserViewModel, actionViewModel, userUtil, bitacora)
        {
            FormRequestService = formRequestService;
            DesktopViewModel   = desktopViewModel;
            HostingEnvironment = environment;

            LoadBaseViewModel(DesktopViewModel);
        }
Example #6
0
 public FormRequestController(IMemoryCache cache, IFormRequestViewModel formRequestViewModel, IFormRequest formRequest, IHeaderViewModel headerViewModel, IFormRequestService formRequestService,
                              IFormXmlService formXmlService, IADUserViewModel aDUserViewModel, IActionViewModel actionViewModel, IHostingEnvironment environment, IUserUtil userUtil, IBitacora bitacora) :
     base(cache, headerViewModel, aDUserViewModel, actionViewModel, userUtil, bitacora)
 {
     FormRequestService   = formRequestService;
     FormRequest          = formRequest;
     FormRequestViewModel = formRequestViewModel;
     FormXmlService       = formXmlService;
     HostingEnvironment   = environment;
 }