示例#1
0
 /// <summary>
 /// constructor with different repository, management and mapper interfaces.
 /// </summary>
 /// <param name="ticketReadRepository"></param>
 /// <param name="userReadManager"></param>
 /// <param name="clientReadManager"></param>
 /// <param name="ticketListMapper"></param>
 /// <param name="ticketDetailMapper"></param>
 public TicketReadManager(ITicketReadRepository ticketReadRepository, IUserReadManager userReadManager, IClientReadManager clientReadManager,
                          IDataMapper <TicketListViewModel, TicketEntity> ticketListMapper, IDataMapper <TicketDetailViewModel, TicketEntity> ticketDetailMapper)
 {
     this.ticketReadRepository = ticketReadRepository;
     this.userReadManager      = userReadManager;
     this.clientReadManager    = clientReadManager;
     this.ticketListMapper     = ticketListMapper;
     this.ticketDetailMapper   = ticketDetailMapper;
 }
示例#2
0
 public UserReadService(IUserReadManager userReadManager)
 {
     this.userReadManager = userReadManager;
 }