19 lines
631 B
C#
19 lines
631 B
C#
using System.Threading.Tasks;
|
|
using Kreta.Core.Client.MessageInvoker;
|
|
using Kreta.Naplo.Domain.V2.Model;
|
|
using Kreta.Naplo.Domain.V2.Model.Get.Tanar;
|
|
using Kreta.Naplo.Domain.V2.Service;
|
|
|
|
namespace Kreta.Naplo.BusinessLogic.V2.Service
|
|
{
|
|
class TanarService : VersionedService, ITanarService
|
|
{
|
|
public async Task<ResponseWrapper<ProfilResponse>> GetProfilAsync(ProfilRequest request)
|
|
{
|
|
return await GetAsync<ResponseWrapper<ProfilResponse>>("Profil", request);
|
|
}
|
|
|
|
public TanarService(IHttpMessageInvokerFactory invokerFactory) : base(invokerFactory, "Tanar")
|
|
{ }
|
|
}
|
|
}
|