Example #1
0
 public IHttpActionResult GetUserNameExists(string userName)
 {
     if (AuthHandler.CheckUserName(userName, db))
     {
         return(Ok(true));
     }
     return(NotFound());
 }