/// <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; }
public UserReadService(IUserReadManager userReadManager) { this.userReadManager = userReadManager; }