//public static IMapper Mapper {get; private set;} #endregion #region Constructor /// <summary> /// Create a new instance of Imagenes application service /// </summary> /// <param name="repository">Repository dependency</param> public ImagenesAppService(IImagenesRepository repository) { if (repository == null) { throw new ArgumentNullException("repository", ApplicationResources.exception_WithoutRepository); } _repositoryImagenes = repository; }
/// <summary> /// Create a new instance of Imagenes application service /// </summary> /// <param name="repository">Repository dependency</param> /// <param name="uow">IUnitOfWorkAsync dependency</param> public ImagenesAppService(IImagenesRepository repository, IUnitOfWorkAsync uow) { if (repository == null) { throw new ArgumentNullException("repository", ApplicationResources.exception_WithoutRepository); } _repositoryImagenes = repository; if (uow == null) { throw new ArgumentNullException("uow", ApplicationResources.exception_WithoutRepository); } _unitOfWorkAsync = uow; }
public ImagesController(IImagenesRepository ir) { this.ir = ir; }
public GeoController(IGeoRepository geoRepository, IUsuarioRepository usuarioRepository, IClienteRepository clienteRepository, IFiltroRepository filtroRepository, ICommonRepository commonRepository, ITableroRepository tableroRepository, IImagenesRepository imagenesRepository) { IdModulo = 4; this.geoRepository = geoRepository; this.usuarioRepository = usuarioRepository; this.clienteRepository = clienteRepository; this.filtroRepository = filtroRepository; this.commonRepository = commonRepository; this.tableroRepository = tableroRepository; this.imagenesRepository = imagenesRepository; }
public ImagenesController(IClienteRepository clienteRepository, IUsuarioRepository usuarioRepository, IImagenesRepository imagenesRepository, IFiltroRepository filtroRepository, ICommonRepository commonRepository) { IdModulo = 3; this.clienteRepository = clienteRepository; this.usuarioRepository = usuarioRepository; this.imagenesRepository = imagenesRepository; this.filtroRepository = filtroRepository; this.commonRepository = commonRepository; }