public LoginController(LogisticsContext dbContext) { _dbContext = dbContext; _userLogic = new App_UserLogic(new EntityFrameworkGenericRepository <App_UserPoco>(_dbContext)); }
public UserController(IMemoryCache cache, LogisticsContext dbContext) { _cache = cache; _dbContext = dbContext; _userLogic = new App_UserLogic(new EntityFrameworkGenericRepository <App_UserPoco>(_dbContext)); }