c#一些容易忘记的扩展方法
1.判断预约日期是否是公休日
var isRestDay = queryModel.planDate.DayOfWeek == DayOfWeek.Saturday || queryModel.planDate.DayOfWeek == DayOfWeek.Sunday ? true : false;
1.判断预约日期是否是公休日
var isRestDay = queryModel.planDate.DayOfWeek == DayOfWeek.Saturday || queryModel.planDate.DayOfWeek == DayOfWeek.Sunday ? true : false;