8 lines
204 B
C#
8 lines
204 B
C#
|
public class UsersController {
|
||
|
public bool UserNameAvailable(string username) {
|
||
|
if(MyRepository.UserNameExists(username)) {
|
||
|
return "false";
|
||
|
}
|
||
|
return "true";
|
||
|
}
|
||
|
}
|