public userDTO getUser(string emailAddress)
        {
            userDTO resultDTO = userCRUDValidationObject.getUserDTO(emailAddress);

            //TODO DTO: Map the DTO to POCO here
            //userDTO userDTOObject = null;
            //userDTO userDTOObject = userDTOMappingObject.UserMapper().Map<userDTO>(userPocoObject);
            return(resultDTO);
        }
Beispiel #2
0
        public IHttpActionResult GetSingleUser([FromUri] string emailAddress)
        {
            userDTO result = _userCRUDValidationObj.getUserDTO(emailAddress);

            return(Ok(result));
        }