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