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; }
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); } }
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; }
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); }
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); }
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; }