init
This commit is contained in:
commit
e124a47765
19374 changed files with 9806149 additions and 0 deletions
41
Kreta.BusinessLogic/Helpers/FeltarHelper.cs
Normal file
41
Kreta.BusinessLogic/Helpers/FeltarHelper.cs
Normal file
|
@ -0,0 +1,41 @@
|
|||
using Kreta.BusinessLogic.Security;
|
||||
using Kreta.Core.ConnectionType;
|
||||
using Kreta.DataAccessManual;
|
||||
using Kreta.DataAccessManual.Util;
|
||||
using Kreta.Enums.ManualEnums;
|
||||
|
||||
namespace Kreta.BusinessLogic.Helpers
|
||||
{
|
||||
public class FeltarHelper : LogicBase
|
||||
{
|
||||
#region Constructors
|
||||
|
||||
public FeltarHelper(IConnectionType connectionType) : base(connectionType)
|
||||
{
|
||||
}
|
||||
|
||||
#endregion Constructors
|
||||
|
||||
public string FeltarASZFUrl()
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, (h) =>
|
||||
{
|
||||
var intezmenyConfigHelper = new IntezmenyConfigHelper(new DalHandlerConnectionType(ConnectionType, h));
|
||||
var feltarASZFUrl = intezmenyConfigHelper.GetIntezmenyConfig<string>(IntezmenyConfigModulEnum.FeltarASZF, IntezmenyConfigTipusEnum.Url);
|
||||
|
||||
return feltarASZFUrl;
|
||||
});
|
||||
}
|
||||
|
||||
public string FeltarASZFGondviseloUrl()
|
||||
{
|
||||
return Dal.CustomConnection.Run(ConnectionType, (h) =>
|
||||
{
|
||||
var intezmenyConfigHelper = new IntezmenyConfigHelper(new DalHandlerConnectionType(ConnectionType, h));
|
||||
var feltarASZFUrl = intezmenyConfigHelper.GetIntezmenyConfig<string>(IntezmenyConfigModulEnum.FeltarASZFGondviselo, IntezmenyConfigTipusEnum.Url);
|
||||
|
||||
return feltarASZFUrl;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue