using Kreta.Core.Client.MessageInvoker;
namespace Kreta.Naplo.BusinessLogic.V2
{
///
/// Versioned service
///
class VersionedService : BusinessLogic.Service
{
///
/// Get base url
///
protected override string BaseUrl
{
get
{
return Infrastructure.Helpers.Http.CombineUrl(string.Format($"{this.Context.BaseUrl}/Naplo/V2", this.Context.InstituteCode), this.RelativeUrl);
}
}
///
/// Initializes a new instance of the class.
///
/// Message invoker
/// The relative URL.
public VersionedService(IHttpMessageInvokerFactory invokerFactory, string relativeUrl) : base(invokerFactory, relativeUrl) { }
}
}