public IActionResult Post([FromBody] Book obj) { _log4net.Info(" Http Post request"); int isDone = ibook.AddDetail(obj); if (isDone == 1) { return(Ok("Record Added")); } return(NotFound("Error")); }