public ActionResult CurrentNotice() { var user = OperatorProvider.Provider.Current(); int month = 1; if (DateTime.Now.Month < 4) { month = 1; } else if (DateTime.Now.Month < 7) { month = 4; } else if (DateTime.Now.Month < 10) { month = 7; } else if (DateTime.Now.Month <= 12) { month = 10; } var data = noticeBLL.GetCurrentNotice(user.DeptId, new DateTime(2000, 1, 1)); return(View(data)); }