/// <summary> /// Create a new instance of Nt_Cant viewmodel /// </summary> /// <param name="service">Service dependency</param> /// <param name="serviceAlim">Service dependency</param> /// <param name="serviceNutriente">Service dependency</param> /// <param name="serviceNt_Fuente">Service dependency</param> public Nt_CantCrudViewModel(INt_CantAppService service, IAlimAppService serviceAlim, INutrienteAppService serviceNutriente, INt_FuenteAppService serviceNt_Fuente) : this() { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } if (serviceAlim == null) { throw new ArgumentNullException("serviceAlim", PresentationResources.exception_WithoutService); } if (serviceNutriente == null) { throw new ArgumentNullException("serviceNutriente", PresentationResources.exception_WithoutService); } if (serviceNt_Fuente == null) { throw new ArgumentNullException("serviceNt_Fuente", PresentationResources.exception_WithoutService); } _serviceNt_Cant = service; _serviceAlim = serviceAlim; _serviceNutriente = serviceNutriente; _serviceNt_Fuente = serviceNt_Fuente; BuildVm(); }
/// <summary> /// Create a new instance of Nt_Cant controller /// </summary> /// <param name="service">Service dependency</param> /// <param name="serviceAlim">Service dependency</param> /// <param name="serviceNutriente">Service dependency</param> /// <param name="serviceNt_Fuente">Service dependency</param> public Nt_CantController(INt_CantAppService service, IAlimAppService serviceAlim, INutrienteAppService serviceNutriente, INt_FuenteAppService serviceNt_Fuente) { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } if (serviceAlim == null) { throw new ArgumentNullException("serviceAlim", PresentationResources.exception_WithoutService); } if (serviceNutriente == null) { throw new ArgumentNullException("serviceNutriente", PresentationResources.exception_WithoutService); } if (serviceNt_Fuente == null) { throw new ArgumentNullException("serviceNt_Fuente", PresentationResources.exception_WithoutService); } //_unitOfWork = unitOfWork; _serviceNt_Cant = service; _serviceAlim = serviceAlim; _serviceNutriente = serviceNutriente; _serviceNt_Fuente = serviceNt_Fuente; }
/// <summary> /// Create a new instance of Alim viewmodel /// </summary> /// <param name="service">Service dependency</param> /// <param name="serviceFactConv">Service dependency</param> /// <param name="serviceNt_Cant">Service dependency</param> /// <param name="serviceAlim_Grp">Service dependency</param> /// <param name="serviceAlim_Fuente">Service dependency</param> /// <param name="serviceUniMed">Service dependency</param> /// <param name="serviceRecProd">Service dependency</param> /// <param name="serviceDesCant">Service dependency</param> /// <param name="serviceRendCant">Service dependency</param> public AlimFindViewModel(IAlimAppService service, IFactConvAppService serviceFactConv, INt_CantAppService serviceNt_Cant, IAlim_GrpAppService serviceAlim_Grp, IAlim_FuenteAppService serviceAlim_Fuente, IUniMedAppService serviceUniMed, IRecProdAppService serviceRecProd, IDesCantAppService serviceDesCant, IRendCantAppService serviceRendCant) : this() { if (service == null) throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); if (serviceFactConv == null) throw new ArgumentNullException("serviceFactConv", PresentationResources.exception_WithoutService); if (serviceNt_Cant == null) throw new ArgumentNullException("serviceNt_Cant", PresentationResources.exception_WithoutService); if (serviceAlim_Grp == null) throw new ArgumentNullException("serviceAlim_Grp", PresentationResources.exception_WithoutService); if (serviceAlim_Fuente == null) throw new ArgumentNullException("serviceAlim_Fuente", PresentationResources.exception_WithoutService); if (serviceUniMed == null) throw new ArgumentNullException("serviceUniMed", PresentationResources.exception_WithoutService); if (serviceRecProd == null) throw new ArgumentNullException("serviceRecProd", PresentationResources.exception_WithoutService); if (serviceDesCant == null) throw new ArgumentNullException("serviceDesCant", PresentationResources.exception_WithoutService); if (serviceRendCant == null) throw new ArgumentNullException("serviceRendCant", PresentationResources.exception_WithoutService); _serviceAlim = service; _serviceFactConv = serviceFactConv; _serviceNt_Cant = serviceNt_Cant; _serviceAlim_Grp = serviceAlim_Grp; _serviceAlim_Fuente = serviceAlim_Fuente; _serviceUniMed = serviceUniMed; _serviceRecProd = serviceRecProd; _serviceDesCant = serviceDesCant; _serviceRendCant = serviceRendCant; BuildVm(); }
/// <summary> /// Create a new instance of Alim controller /// </summary> /// <param name="service">Service dependency</param> /// <param name="serviceFactConv">Service dependency</param> /// <param name="serviceNt_Cant">Service dependency</param> /// <param name="serviceAlim_Grp">Service dependency</param> /// <param name="serviceAlim_Fuente">Service dependency</param> /// <param name="serviceUniMed">Service dependency</param> /// <param name="serviceRecProd">Service dependency</param> /// <param name="serviceDesCant">Service dependency</param> /// <param name="serviceRendCant">Service dependency</param> public AlimController(IAlimAppService service, IFactConvAppService serviceFactConv, INt_CantAppService serviceNt_Cant, IAlim_GrpAppService serviceAlim_Grp, IAlim_FuenteAppService serviceAlim_Fuente, IUniMedAppService serviceUniMed, IRecProdAppService serviceRecProd, IDesCantAppService serviceDesCant, IRendCantAppService serviceRendCant) { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } if (serviceFactConv == null) { throw new ArgumentNullException("serviceFactConv", PresentationResources.exception_WithoutService); } if (serviceNt_Cant == null) { throw new ArgumentNullException("serviceNt_Cant", PresentationResources.exception_WithoutService); } if (serviceAlim_Grp == null) { throw new ArgumentNullException("serviceAlim_Grp", PresentationResources.exception_WithoutService); } if (serviceAlim_Fuente == null) { throw new ArgumentNullException("serviceAlim_Fuente", PresentationResources.exception_WithoutService); } if (serviceUniMed == null) { throw new ArgumentNullException("serviceUniMed", PresentationResources.exception_WithoutService); } if (serviceRecProd == null) { throw new ArgumentNullException("serviceRecProd", PresentationResources.exception_WithoutService); } if (serviceDesCant == null) { throw new ArgumentNullException("serviceDesCant", PresentationResources.exception_WithoutService); } if (serviceRendCant == null) { throw new ArgumentNullException("serviceRendCant", PresentationResources.exception_WithoutService); } //_unitOfWork = unitOfWork; _serviceAlim = service; _serviceFactConv = serviceFactConv; _serviceNt_Cant = serviceNt_Cant; _serviceAlim_Grp = serviceAlim_Grp; _serviceAlim_Fuente = serviceAlim_Fuente; _serviceUniMed = serviceUniMed; _serviceRecProd = serviceRecProd; _serviceDesCant = serviceDesCant; _serviceRendCant = serviceRendCant; }
/// <summary> /// Create a new instance of Alim_Grp controller /// </summary> /// <param name="service">Service dependency</param> /// <param name="serviceAlim">Service dependency</param> public Alim_GrpController(IAlim_GrpAppService service, IAlimAppService serviceAlim) { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } if (serviceAlim == null) { throw new ArgumentNullException("serviceAlim", PresentationResources.exception_WithoutService); } //_unitOfWork = unitOfWork; _serviceAlim_Grp = service; _serviceAlim = serviceAlim; }
/// <summary> /// Create a new instance of UniMed viewmodel /// </summary> /// <param name="service">Service dependency</param> /// <param name="serviceAlim">Service dependency</param> public UniMedFindViewModel(IUniMedAppService service, IAlimAppService serviceAlim) : this() { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } if (serviceAlim == null) { throw new ArgumentNullException("serviceAlim", PresentationResources.exception_WithoutService); } _serviceUniMed = service; _serviceAlim = serviceAlim; BuildVm(); }
/// <summary> /// Create a new instance of FactConv controller /// </summary> /// <param name="service">Service dependency</param> /// <param name="serviceAlim">Service dependency</param> /// <param name="serviceMedida">Service dependency</param> public FactConvController(IFactConvAppService service, IAlimAppService serviceAlim, IMedidaAppService serviceMedida) { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } if (serviceAlim == null) { throw new ArgumentNullException("serviceAlim", PresentationResources.exception_WithoutService); } if (serviceMedida == null) { throw new ArgumentNullException("serviceMedida", PresentationResources.exception_WithoutService); } //_unitOfWork = unitOfWork; _serviceFactConv = service; _serviceAlim = serviceAlim; _serviceMedida = serviceMedida; }
/// <summary> /// Create a new instance of RendCant controller /// </summary> /// <param name="service">Service dependency</param> /// <param name="serviceAlim">Service dependency</param> /// <param name="serviceRend">Service dependency</param> public RendCantController(IRendCantAppService service, IAlimAppService serviceAlim, IRendAppService serviceRend) { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } if (serviceAlim == null) { throw new ArgumentNullException("serviceAlim", PresentationResources.exception_WithoutService); } if (serviceRend == null) { throw new ArgumentNullException("serviceRend", PresentationResources.exception_WithoutService); } //_unitOfWork = unitOfWork; _serviceRendCant = service; _serviceAlim = serviceAlim; _serviceRend = serviceRend; }
/// <summary> /// Create a new instance of RecProd controller /// </summary> /// <param name="service">Service dependency</param> /// <param name="serviceAlim">Service dependency</param> /// <param name="serviceReceta">Service dependency</param> public RecProdController(IRecProdAppService service, IAlimAppService serviceAlim, IRecetaAppService serviceReceta) { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } if (serviceAlim == null) { throw new ArgumentNullException("serviceAlim", PresentationResources.exception_WithoutService); } if (serviceReceta == null) { throw new ArgumentNullException("serviceReceta", PresentationResources.exception_WithoutService); } //_unitOfWork = unitOfWork; _serviceRecProd = service; _serviceAlim = serviceAlim; _serviceReceta = serviceReceta; }
/// <summary> /// Create a new instance of DesCant controller /// </summary> /// <param name="service">Service dependency</param> /// <param name="serviceAlim">Service dependency</param> /// <param name="serviceDesecho">Service dependency</param> public DesCantController(IDesCantAppService service, IAlimAppService serviceAlim, IDesechoAppService serviceDesecho) { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } if (serviceAlim == null) { throw new ArgumentNullException("serviceAlim", PresentationResources.exception_WithoutService); } if (serviceDesecho == null) { throw new ArgumentNullException("serviceDesecho", PresentationResources.exception_WithoutService); } //_unitOfWork = unitOfWork; _serviceDesCant = service; _serviceAlim = serviceAlim; _serviceDesecho = serviceDesecho; }
/// <summary> /// Create a new instance of RendCant viewmodel /// </summary> /// <param name="service">Service dependency</param> /// <param name="serviceAlim">Service dependency</param> /// <param name="serviceRend">Service dependency</param> public RendCantCrudViewModel(IRendCantAppService service, IAlimAppService serviceAlim, IRendAppService serviceRend) : this() { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } if (serviceAlim == null) { throw new ArgumentNullException("serviceAlim", PresentationResources.exception_WithoutService); } if (serviceRend == null) { throw new ArgumentNullException("serviceRend", PresentationResources.exception_WithoutService); } _serviceRendCant = service; _serviceAlim = serviceAlim; _serviceRend = serviceRend; BuildVm(); }
/// <summary> /// Create a new instance of RecProd viewmodel /// </summary> /// <param name="service">Service dependency</param> /// <param name="serviceAlim">Service dependency</param> /// <param name="serviceReceta">Service dependency</param> public RecProdFindViewModel(IRecProdAppService service, IAlimAppService serviceAlim, IRecetaAppService serviceReceta) : this() { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } if (serviceAlim == null) { throw new ArgumentNullException("serviceAlim", PresentationResources.exception_WithoutService); } if (serviceReceta == null) { throw new ArgumentNullException("serviceReceta", PresentationResources.exception_WithoutService); } _serviceRecProd = service; _serviceAlim = serviceAlim; _serviceReceta = serviceReceta; BuildVm(); }
/// <summary> /// Create a new instance of FactConv viewmodel /// </summary> /// <param name="service">Service dependency</param> /// <param name="serviceAlim">Service dependency</param> /// <param name="serviceMedida">Service dependency</param> public FactConvCrudViewModel(IFactConvAppService service, IAlimAppService serviceAlim, IMedidaAppService serviceMedida) : this() { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } if (serviceAlim == null) { throw new ArgumentNullException("serviceAlim", PresentationResources.exception_WithoutService); } if (serviceMedida == null) { throw new ArgumentNullException("serviceMedida", PresentationResources.exception_WithoutService); } _serviceFactConv = service; _serviceAlim = serviceAlim; _serviceMedida = serviceMedida; BuildVm(); }
/// <summary> /// Create a new instance of DesCant viewmodel /// </summary> /// <param name="service">Service dependency</param> /// <param name="serviceAlim">Service dependency</param> /// <param name="serviceDesecho">Service dependency</param> public DesCantCrudViewModel(IDesCantAppService service, IAlimAppService serviceAlim, IDesechoAppService serviceDesecho) : this() { if (service == null) { throw new ArgumentNullException("service", PresentationResources.exception_WithoutService); } if (serviceAlim == null) { throw new ArgumentNullException("serviceAlim", PresentationResources.exception_WithoutService); } if (serviceDesecho == null) { throw new ArgumentNullException("serviceDesecho", PresentationResources.exception_WithoutService); } _serviceDesCant = service; _serviceAlim = serviceAlim; _serviceDesecho = serviceDesecho; BuildVm(); }