public AccountController(UserManager <User> userManager, SignInManager <User> signManager, IJwtFactory jwtFactory, IOptions <JwtIssuerOptions> jwtOptions, IUnitOfWorkRepository unitOfWork, ZomatoDbContext dbContext, RoleManager <IdentityRole> roleManager) { _userManager = userManager; _signManager = signManager; _jwtFactory = jwtFactory; _jwtOptions = jwtOptions.Value; this.unitOfWork = unitOfWork; _dbContext = dbContext; _roleManager = roleManager; }
public RestaurantRepository(ZomatoDbContext db) { this._db = db; }
public OrderRepository(ZomatoDbContext zomatoDbContext) { _db = zomatoDbContext; }
public DataRepository(ZomatoDbContext _context) { _dbContext = _context; }