public IActionResult GetE(string email) { CreateUser objc = new CreateUser(); var emailByObject = objc.GetUserEmail(email); if (emailByObject != null) { var result = JsonConvert.SerializeObject(emailByObject); return(Ok(result)); } return(NotFound()); }