public HttpResponseMessage GetPlaylistFullFromUser() { HttpResponseMessage responseMsg; HttpResponseHelper<PlaylistVM> _helper = new HttpResponseHelper<PlaylistVM>(this); try { string userId = Microsoft.AspNet.Identity.IdentityExtensions.GetUserId(RequestContext.Principal.Identity); var playlists = _mngr.getPlaylistsFull(userId); responseMsg = _helper.CreateCustomResponseMsg(playlists.ToList(), HttpStatusCode.OK); } catch (Exception e) { responseMsg = _helper.CreateErrorResponseMsg(new HttpError(e.Message), HttpStatusCode.InternalServerError); } return responseMsg; }