//this method adds a user details public IActionResult PostUserDetails([FromBody] User user) { string str = _context.Add_User(user); return(Ok(str)); }