This commit is contained in:
skidoodle 2024-03-13 00:33:46 +01:00
commit e124a47765
19374 changed files with 9806149 additions and 0 deletions

View file

@ -0,0 +1,28 @@
using Kreta.Core.Client.MessageInvoker;
namespace Kreta.Naplo.BusinessLogic.V2
{
/// <summary>
/// Versioned service
/// </summary>
class VersionedService : BusinessLogic.Service
{
/// <summary>
/// Get base url
/// </summary>
protected override string BaseUrl
{
get
{
return Infrastructure.Helpers.Http.CombineUrl(string.Format($"{this.Context.BaseUrl}/Naplo/V2", this.Context.InstituteCode), this.RelativeUrl);
}
}
/// <summary>
/// Initializes a new instance of the <see cref="TeacherClientProxy"/> class.
/// </summary>
/// <param name="invoker">Message invoker</param>
/// <param name="relativeUrl">The relative URL.</param>
public VersionedService(IHttpMessageInvokerFactory invokerFactory, string relativeUrl) : base(invokerFactory, relativeUrl) { }
}
}