示例#1
0
 public bool IsUsernameExist(string username)
 {
     using (var db = new UserContext())
     {
         return(db.CheckUsername(username));
     }
 }