示例#1
0
        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);
        }
示例#2
0
        public async Task <IEnumerable <int> > GetEquationCount()
        {
            var dbService = new EquationDBService();
            var result    = await dbService.GetEquationCounts();

            return(result);
        }