Exemplo n.º 1
0
 public JobRepository(FreeLancePlatformContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public GenericRepository(FreeLancePlatformContext context)
 {
     _context = context;
     table    = _context.Set <T>();
 }
 public UserRepository(FreeLancePlatformContext context) : base(context)
 {
     _context = context;
 }
Exemplo n.º 4
0
 public AuthorizationService(IConfiguration config, FreeLancePlatformContext context)
 {
     _config  = config;
     _context = context;
 }
Exemplo n.º 5
0
 public UnitOfWork(FreeLancePlatformContext context)
 {
     _context = context;
 }
Exemplo n.º 6
0
 public RegisterService(FreeLancePlatformContext context, IMapper mapper
                        )
 {
     _context = context;
     _mapper  = mapper;
 }