public IEnumerable <ScheduleStateDataModel> GetListByApplication() { var dataQuery = new ScheduleStateDataModel(); dataQuery.ApplicationId = 100047; return(ScheduleStateDataManager.GetEntityDetails(dataQuery, SessionVariables.RequestProfile)); }
public ScheduleStateDataModel GetById(string value) { var dataQuery = new ScheduleStateDataModel(); dataQuery.ScheduleStateId = int.Parse(value); var result = ScheduleStateDataManager.GetEntityDetails(dataQuery, SessionVariables.RequestProfile, 1); return(result[0]); }