我正在构建一个使用MVC 5的web应用程序,我不能在PartialViewResults中使用Async/Await模式,因为它会导致运行时错误。正因为如此,我不等待某些任务。 例如,我有这个头UI这是在我的应用程序大多数页面使用的PartialViewResult: /// <summary>
/// Get UI header for trainee's main detail
祝大家晚上好,我希望任何人都可以在视图部分帮助我使用日期时间范围过滤器。这里是我的模型: public class Student
{
public int ID { get; set; }
public string StudentName { get; set; }
public int CourseId { get; set; }
public vi