示例#1
0
 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;
 }
示例#2
0
 public RestaurantRepository(ZomatoDbContext db)
 {
     this._db = db;
 }
 public OrderRepository(ZomatoDbContext zomatoDbContext)
 {
     _db = zomatoDbContext;
 }
示例#4
0
 public DataRepository(ZomatoDbContext _context)
 {
     _dbContext = _context;
 }