예제 #1
0
        public Service(IRepositoryConcert repositoryConcert, IRepositoryTicket repositoryTicket, IRepositoryUser repositoryUser)
        {
            _repositoryConcert = repositoryConcert;
            _repositoryTicket  = repositoryTicket;
            _repositoryUser    = repositoryUser;

            connectedClients = new Dictionary <string, IObserver>();
        }
예제 #2
0
        public ServiceTicket(IRepositoryTicket service, IUnitOfWork unitofwork)
            : base(unitofwork)
        {
            if (null == service)
            {
                throw new ArgumentNullException("service");
            }

            _service = service;
        }
예제 #3
0
 public TicketController(IRepositoryTicket repo)
 {
     this.repo = repo;
 }