public static TaskTrnCreateListEntity[] GetData(string fromdate, string todate) { var details = new List <TaskTrnCreateListEntity>(); try { details = new TaskTrnCreateTaskDAO().GetTaskTrnCreatedList(fromdate, todate); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }
public static string[] GetTaskSchDates(Int64 id) { List <string> lstvalues = new List <string>(); try { lstvalues = new TaskTrnCreateTaskDAO().GetTaskSchDateForTask(id); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(lstvalues.ToArray()); }
public static TaskTrnPendingForInitializeEntity[] GetPendingTaskData(string TIDSTR, string CIDSTR, string CLICATIDSTR) { var details = new List <TaskTrnPendingForInitializeEntity>(); try { details = new TaskTrnCreateTaskDAO().GetTaskTrnPendingTaskForInitailization(TIDSTR, CIDSTR, CLICATIDSTR); } catch (Exception ex) { // details.Add(new DbStatusEntity(ex.Message)); } return(details.ToArray()); }