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); }
public IHttpActionResult GetSingleUser([FromUri] string emailAddress) { userDTO result = _userCRUDValidationObj.getUserDTO(emailAddress); return(Ok(result)); }