public IHttpActionResult Get() { var result = _dataAccessProvider.GetMember(AuthKey); if (result != null) { return(Ok(new { result.MemberID, result.FirstName, result.MiddleName, result.LastName, result.Gender, result.BirthDay, result.BirthMonth, result.BirthYear, result.EMail, result.ContactPhone, result.Building, result.Street, result.City, result.Zip, result.ImageName, result.ImagePath })); } return(Unauthorized()); }