コード例 #1
0
 public void AddEmployeeSignUp()
 {
     using (var client = new SexAnnualVoteClient())
     {
         var result = client.AddEmployeeSignUp(new Models.ShopEmployeeVoteModel()
         {
             Age               = 1,
             City              = "上海",
             Description       = "介绍",
             EmployeeId        = 1,
             ExpertiseModels   = "路虎",
             ExpertiseProjects = "轮胎",
             Hobby             = "没有",
             ImageUrls         = Newtonsoft.Json.JsonConvert.SerializeObject(new string[] { "1", "2" }),
             Name              = "张三",
             ShopId            = 1,
             VideoUrl          = "",
             YearsEmployed     = 1
         });
         result.ThrowIfException(true);
         Assert.AreEqual(result.Result, true);
     }
 }