public void GetSpindleBeltParaTest()
        {
            var con = new SpindleBeltParasController();

            var result = con.GetSpindleBeltPara("TBN240H075").GetAwaiter().GetResult()
                         as OkNegotiatedContentResult <SpindleBeltPara>;

            Assert.IsNotNull(result);
        }
        public void GetSpindleBeltParasTest()
        {
            var con      = new SpindleBeltParasController();
            int expected = 16;

            var result = con.GetSpindleBeltParas();

            Assert.IsNotNull(result);
            Assert.AreEqual(expected, result.Count());
        }