public async Task <IHttpActionResult> GetAssignmentByRegNo(string regNo)
 {
     logger.Info(DateTime.Now + ":" + "Inside the GetAssignmentByRegNo IHttpActionResult in the Assignments Controller");
     return(Ok(await _assignment.GetConsultantAssignmentsByPresentDate(regNo)));
 }