public IActionResult GetList() { _log4net.Info(" Http GET request Started"); try { var details = adb.GetMarksList(); if (details == null) { return(NotFound()); } _log4net.Info(" Http GET request Completed"); return(Ok(details)); } catch (Exception) { return(BadRequest()); } }