public IHttpActionResult ValidateEmail(string email) { var IsValid = _account.vaildEmail(email); if (IsValid) { return(Ok(IsValid)); } else { return(Ok(IsValid)); } }