Ejemplo n.º 1
0
        public List <DocObject> GetMonthList()
        {
            try
            {
                var monthList = new EnumToObjList().ConvertEnumToList(typeof(MonthList));

                if (monthList == null || !monthList.Any())
                {
                    return(new List <DocObject>());
                }

                return(monthList);
            }
            catch (Exception ex)
            {
                return(new List <DocObject>());
            }
        }
Ejemplo n.º 2
0
        public List <DocObject> GetWellReportFields()
        {
            try
            {
                var reportFields = new EnumToObjList().ConvertEnumToList(typeof(WellReportFields));

                if (reportFields == null || !reportFields.Any())
                {
                    return(new List <DocObject>());
                }

                return(reportFields);
            }
            catch (Exception ex)
            {
                return(new List <DocObject>());
            }
        }
Ejemplo n.º 3
0
        public List <DocObject> GetCompletionStatuses()
        {
            try
            {
                var completionStatuses = new EnumToObjList().ConvertEnumToList(typeof(CompletionStatus));

                if (completionStatuses == null || !completionStatuses.Any())
                {
                    return(new List <DocObject>());
                }

                return(completionStatuses);
            }
            catch (Exception ex)
            {
                return(new List <DocObject>());
            }
        }