public static async Task <StandardResponse <int> > WithControllerUsingService() { var passport = new Passport(_storage); var controllerUsingService = new ControllerUsingService(passport, new Service()); //controllerUsingService.Calculate("2", 10, "/", 2); return(await controllerUsingService.Calculate("2", 10, "/", 5)); }
public static async Task<StandardResponse<int>> WithControllerUsingService() { var passport = new Passport(_storage); var controllerUsingService = new ControllerUsingService(passport, new Service()); //controllerUsingService.Calculate("2", 10, "/", 2); return await controllerUsingService.Calculate("2", 10, "/", 5); }