The parameters dictionary contains a null entry for parameter 'date' of non-nullable type 'System.DateTime' for method 'System.Web.Mvc.ActionResult DeleteStudentAttendance(System.DateTime, Int64, Int64, Int32)' in 'CMS.ClientPortal.Controllers.TransController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters
public ActionResult DeleteStudentAttendance(DateTime date, Int64 classId, Int64 divId,int timing) { if (LoggedInUser != null && LoggedInUser.IsAuthenticated) { TransactionRepositories.DeleteStudentAttendanceForDate(date, LoggedInUser.BranchId, LoggedInUser.InstituteId, classId, divId,timing); TempData["actionresult"] = "Student Attendance Data For Class Deleted Successfully!!!"; return Json("success"); } return Json("error"); }
null
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)