Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- throw new FaultException
- public void AuthenticateUser()
- {
- throw new FaultException("Your account has not been activated");
- }
- public AutheticateDto AutheticateUser()
- {
- return new AutheticateDto() {
- Success = false,
- Message = "Your account has not been activated"};
- }
Add Comment
Please, Sign In to add comment