using FrameworkDAL.CustomCode.Address; using FrameworkDAL.CustomCode.WebServiceCriteria; using GB5Shared.DTO.Framework.Login; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FrameworkBLL.WebServiceCriteria { public class WebServiceCriteriaBLL : IWebServiceCriteriaBLL { private readonly IWebServiceCriteriaDAL _WebServiceCriteriaDAL; public WebServiceCriteriaBLL(IWebServiceCriteriaDAL IWebServiceCriteriaDAL) { _WebServiceCriteriaDAL = IWebServiceCriteriaDAL; } public async Task GetWebServiceCriteria(int WebServiceId, LoginDTO LoginDTO) { try { return await _WebServiceCriteriaDAL.GetWebServiceCriteria(WebServiceId, LoginDTO); } catch (Exception) { throw; } } } }