public void addUser(string first, string last, string email) { usersObject.addUser(first, last, email); //throw new FaultException<userAlreadyExistsExceptionDetails>( new userAlreadyExistsExceptionDetails //{ // errorCode = 500, // errorMsg = "Daum Son...... the nigger you are trying to add, already Exists bitch !" //}, "See the inner details of the exception bitch !!"); }
public IHttpActionResult addUser([FromBody] string first, string last, string emailID) { _userCRUDValidationObj.addUser(first, last, emailID); return(Ok()); }