public Stream GetCustomer(Core.Model.mdlCustomerParam param) { string json = Core.Services.RestPublisher.Serialize(CustomerFacade.LoadCustomer(param)); WebOperationContext.Current.OutgoingResponse.ContentType = "application/json; charset=utf-8"; MemoryStream ms = new MemoryStream(Encoding.UTF8.GetBytes(json)); return(ms); }
public Core.Model.mdlResultSvc UploadCustomer(Core.Model.mdlCustomerParam param) { return(CustomerFacade.UploadCustomer(param)); }
public Core.Model.mdlResultSvc DeleteCustomer(Core.Model.mdlCustomerParam param) { return(CustomerFacade.DeleteCustomer(param.CustomerID)); }