public IHttpActionResult GetSalt(string username) { string salt = AuthHandler.GetSalt(username, db); if (salt == null) { return(NotFound()); } return(Ok(salt)); }