Ejemplo n.º 1
0
 public SessionService(GamingProjectContext context,
                       IDTOServiceMapper <Session, SessionDTO> sessionMapper,
                       IDTOServiceMapper <Session, DisplaySessionDTO> displaySessionMapper)
 {
     _context              = context;
     _sessionMapper        = sessionMapper;
     _displaySessionMapper = displaySessionMapper;
 }
 public MemberService(GamingProjectContext context,
                      UserManager <User> userManager,
                      IDTOServiceMapper <User, UserDTO> userMapper)
 {
     _context     = context;
     _userManager = userManager;
     _userMapper  = userMapper;
 }
 public DeviceService(GamingProjectContext context,
                      IDTOServiceMapper <Device, DeviceDTO> deviceMapper)
 {
     _context      = context;
     _deviceMapper = deviceMapper;
 }
 public DeviceTypeService(GamingProjectContext context, IDTOServiceMapper <DeviceType, DeviceTypeDTO> mapper)
 {
     _context = context;
     _mapper  = mapper;
 }