public void PowTest() { var controller = new MathController(new MathDbRepository()); var id = controller.Pow(value1, value2); var result = controller.GetResultById((int)id); Assert.AreEqual(result, 216); }