public TodoController(IConfiguration configuration, IMysqlDbContext mysqlDb) { Configuration = configuration; MysqlDb = mysqlDb; }
public RespositoryBase(IMysqlDbContext skyMallDbContext) { _SkyMallDBContext = skyMallDbContext; _DbSet = _SkyMallDBContext.Set <TEntity>(); }