22 lines
816 B
C#
22 lines
816 B
C#
using System;
|
|
using System.Net.Http;
|
|
using Kreta.BusinessLogic.Interfaces;
|
|
using Kreta.Ellenorzo.BL.VN.Ellenorzo;
|
|
using Kreta.Ellenorzo.Domain.VN.Common;
|
|
using Kreta.Ellenorzo.Domain.VN.UniqueIdentifier;
|
|
|
|
namespace Kreta.Ellenorzo.BL.VN.Ora
|
|
{
|
|
public class CsatolmanyFacade : EllenorzoFacade
|
|
{
|
|
private readonly IFileServiceHelper _fileServiceHelper;
|
|
|
|
public CsatolmanyFacade(MobileUser mobileUser, IFileServiceHelper fileServiceHelper) : base(mobileUser)
|
|
{
|
|
_fileServiceHelper = fileServiceHelper ?? throw new ArgumentNullException(nameof(fileServiceHelper));
|
|
}
|
|
|
|
public HttpResponseMessage GetCsatolmany(CsatolmanyUid uid)
|
|
=> RunSubquery(() => CsatolmanySubqueries.GetCsatolmany(DefaultConnectionParameters, _fileServiceHelper, uid));
|
|
}
|
|
}
|