public HttpResponseMessage Create(string subscriptionName) { var principal = Request.GetRequestContext().Principal; Guid accountGuid = Guid.Parse(principal.Identity.Name); Subscription s = new Subscription(); s.AccountGuid = accountGuid; s.Name = subscriptionName; s.AccessLevel = Entity.Enum.AccessLevel.Player; AuthDb.CreateSubscription(s); return(Request.CreateResponse(HttpStatusCode.OK, s)); }