Beispiel #1
0
        public Stream GetCallPlan(Core.Model.mdlUser2 lParam)
        {
            string json = Core.Services.RestPublisher.Serialize(CallPlanFacade.GetCallPlan(lParam.UserID));

            WebOperationContext.Current.OutgoingResponse.ContentType = "application/json; charset=utf-8";
            MemoryStream ms = new MemoryStream(Encoding.UTF8.GetBytes(json));

            return(ms);
        }