51 lines
1.4 KiB
C#
51 lines
1.4 KiB
C#
using BeWo.Data;
|
|
using BeWo.Data.Access;
|
|
using BeWo.Data.Entities;
|
|
using BeWo.Data.Models.XRechnung;
|
|
using BeWo.Data.Security;
|
|
using BeWo.Service.Core;
|
|
using BeWo.Service.DCEntityMapper;
|
|
using BeWo.Service.ServiceContracts.Enhanced;
|
|
using BeWo.Service.ServiceProxy;
|
|
using BeWo.Service.ServiceUtils;
|
|
using BeWo.Service.ServiceUtils.XRechnung;
|
|
using BS.Shared;
|
|
using BS.Shared.DataContracts;
|
|
using BS.Shared.DataContracts.Feature.AI;
|
|
using BS.Shared.DataContracts.Invoicing.XRechnung;
|
|
using BS.Shared.DataContracts.MikePHPContracts;
|
|
using DevExpress.Entity.Model.Metadata;
|
|
using DevExpress.XtraRichEdit.Model;
|
|
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Security.Cryptography;
|
|
using System.ServiceModel;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using static DevExpress.Drawing.Printing.Internal.DXPageSizeInfo;
|
|
|
|
namespace BeWo.Service.ServiceImplementations.Enhanced
|
|
{
|
|
[ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall, ConcurrencyMode = ConcurrencyMode.Single)]
|
|
public class OperationsEnhancedServiceImp : IOperationsEnhancedService
|
|
{
|
|
public string HelloWorld()
|
|
{
|
|
return "OperationEnhancedService: Hello World!";
|
|
}
|
|
|
|
public byte[] GetPdf()
|
|
{
|
|
var lFilePath = MergedConfig.GetSetting(WebConfigSetting.HelloWorldPdfLocation);
|
|
|
|
var bytes = File.ReadAllBytes(lFilePath);
|
|
|
|
return bytes;
|
|
}
|
|
}
|
|
}
|