public FamilyService(DcDbContext context, IMapper mapper) { _mapper = mapper; _context = context; }
public PowerService(DcDbContext context, IMapper mapper, IHttpContextAccessor httpContextAccessor) { _httpContextAccessor = httpContextAccessor; _mapper = mapper; _context = context; }
public TeamService(DcDbContext context, IMapper mapper) { _mapper = mapper; _context = context; }
public AuthRepository(DcDbContext context, IConfiguration configuration) { _configuration = configuration; //to enter appsettings json file _context = context; }