using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using FrameworkDAL.Query.Address; using GB5Shared.DTO.Framework.Login; using Newtonsoft.Json; namespace FrameworkDAL.CustomCode.WorkFlowDeployment { public class WorkFlowDeploymentDAL : IWorkFlowDeploymentDAL { //public async Task GetWorkFlowDeployment(int ObjectTypeId, int ObjectId, LoginDTO LoginDTO) //{ // string Json = ""; // try // { // string sql = AddressQB.GET_ADDRESS_DETAIL; // var parameters = new { objecttypeid = ObjectTypeId, objectid = ObjectId }; // IEnumerable WorkFlowDeploymentDTO = await _QueryExecutor.QueryAsync(LoginDTO, sql, parameters); // Json = JsonConvert.SerializeObject(WorkFlowDeploymentDTO); // return Json; // } // catch (Exception) // { // throw; // } // finally // { // Json = null; // } //} } }