示例#1
0
        public static async Task<StandardResponse<bool>> WithControllerAsyncTest()
        {
            var passport = new Passport(_storage);

            var controller = new Controller(passport);

            await controller.AdditionTest(Guid.NewGuid().ToString("N"));
            return true.GenerateStandardResponse();
        }
示例#2
0
        public static async Task<StandardResponse<int>> WithController()
        {
            var controller = new Controller(new Passport(_storage));
            return await controller.Calculate("1", 10, "/", 0);

        }