public void GetScoreInfoList()
        {
            ScoreController srController = new ScoreController();

            var jsonObj = srController.GetScoreInfoList(1,10,"2015-06-01","2015-07-30").Content;

            var srList = JsonConvert.DeserializeObject<IList<ScoreInfoModel>>(jsonObj);

            Assert.IsTrue(srList.Count>0);
        }
        public void AddScoreDetail()
        {
            ScoreDetailModel srDetailModel = new ScoreDetailModel();
            srDetailModel.F_Add = 10;
            srDetailModel.F_CastID = 1;
            srDetailModel.F_Leval = 1;
            srDetailModel.F_Memo = "测试添加方法";
            srDetailModel.F_Time = DateTime.Now;
            srDetailModel.F_UID = "1234567890";

            ScoreController srController = new ScoreController();
               var resultStr= srController.AddScoreDetail(srDetailModel).Content;
               Assert.IsTrue(resultStr=="true");
        }