public Service(IRepositoryConcert repositoryConcert, IRepositoryTicket repositoryTicket, IRepositoryUser repositoryUser) { _repositoryConcert = repositoryConcert; _repositoryTicket = repositoryTicket; _repositoryUser = repositoryUser; connectedClients = new Dictionary <string, IObserver>(); }
public ServiceTicket(IRepositoryTicket service, IUnitOfWork unitofwork) : base(unitofwork) { if (null == service) { throw new ArgumentNullException("service"); } _service = service; }
public TicketController(IRepositoryTicket repo) { this.repo = repo; }