public EfRepository(CleanArchitectureContext dbContext)
 {
     _dbContext = dbContext;
 }
Beispiel #2
0
 public EFCommonRepository(ILogger <EFCommonRepository <T> > log, CleanArchitectureContext dbContext)
 {
     _log = log;
     //vsolanki 8-10-2018
     _dbContext = dbContext;
 }
Beispiel #3
0
 public UnitOfWork(CleanArchitectureContext context)
 {
     _context = context;
 }
Beispiel #4
0
 public EntityBaseRepository(CleanArchitectureContext context)
 {
     _context = context;
 }
Beispiel #5
0
 public MessageRepository(CleanArchitectureContext dbContext)
 {
     _dbContext = dbContext;
 }
 public HttpUnitOfWork(CleanArchitectureContext context, IHttpContextAccessor httpAccessor) : base(context)
 {
     context.CurrentUserId = httpAccessor.HttpContext.User.FindFirst(OpenIdConnectConstants.Claims.Subject)?.Value?.Trim();
 }
 public UserService(CleanArchitectureContext dbContext, ILogger <UserService> log)
 {
     _dbContext = dbContext;
     _log       = log;
 }