我可能忽略了一些东西,但是我的JSON有效负载并没有为我的控制器绑定。我试过做一个有List<Models.UpdateChatRequestModel> Chats的类,但这对我来说也不管用。Models.ChatModel();
}public class UpdateChatRequestModel public intUserID get; set;
public int</
当用户通过url访问我的站点时,控制器会在其中生成_Layout + partialView。public class HomeController : Controller public ActionResult Index(int id, bool ajax =false) var model =