Пример #1
0
 /// <summary>
 /// Public constructor to initialize UnitOfWork instance
 /// with Unity Constructor Inject Dependency
 /// </summary>
 public NormaServices(UnitOfWork unitOfWork,
                      FormatoServices formatoServices,
                      NormaSectorServices normaSectorServices,
                      PlantillaCampoServices plantillaCampoServices)
 {
     _unitOfWork             = unitOfWork;
     _formatoServices        = formatoServices;
     _normaSectorServices    = normaSectorServices;
     _plantillaCampoServices = plantillaCampoServices;
 }
 /// <summary>
 /// Public constructor.
 /// </summary>
 public FormatoServices(UnitOfWork unitOfWork,
                        TablaValorServices tablaValorServices,
                        PeriodicidadServices periodicidadServices,
                        PlazoServices plazoServices,
                        FormatoPlantillaServices formatoPlantillaServices,
                        FormatoServicioServices formatoServicioServices,
                        PlantillaCampoServices plantillaCampoServices)
 {
     _unitOfWork               = unitOfWork;
     _tablaValorServices       = tablaValorServices;
     _periodicidadServices     = periodicidadServices;
     _plazoServices            = plazoServices;
     _formatoPlantillaServices = formatoPlantillaServices;
     _formatoServicioServices  = formatoServicioServices;
     _plantillaCampoServices   = plantillaCampoServices;
 }