public async Task <IEnumerable <IEquation> > GetEquationsToSolve(GenerateOrderRequest order) { var dBService = new EquationDBService(); var result = await dBService.GetEquations(new Dictionary <int, int>() { { 1, order.Sveq }, { 2, order.Hgeq } }); return(result); }
public async Task <IEnumerable <int> > GetEquationCount() { var dbService = new EquationDBService(); var result = await dbService.GetEquationCounts(); return(result); }