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 !!");
        }
示例#2
0
        public IHttpActionResult addUser([FromBody] string first, string last, string emailID)
        {
            _userCRUDValidationObj.addUser(first, last, emailID);

            return(Ok());
        }