using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FrameworkDAL.CustomCode.Address; using FrameworkDAL.CustomCode.WebService; using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; namespace FrameworkBLL.WebService { public class WebServiceBLL : IWebServiceBLL { private readonly IWebServiceDAL _WebServiceDAL; public WebServiceBLL(IWebServiceDAL IWebServiceDAL) { _WebServiceDAL = IWebServiceDAL; } public async Task GetWebService(int WebServiceId, LoginDTO LoginDTO) { try { return await _WebServiceDAL.GetWebService(WebServiceId, LoginDTO); } catch (Exception) { throw; } } public async Task GetSelectListWebService(CriteriaDTO CriteriaDTO, LoginDTO LoginDTO) { try { return await _WebServiceDAL.GetSelectListWebService(CriteriaDTO, LoginDTO); } catch (Exception) { throw; } } } }