public List <string> GetActionTypes()
        {
            EFDataAccess da = new EFDataAccess();

            var output = new List <string>();

            foreach (var item in da.GetOrderedData <actiontype>("actionType1"))
            {
                output.Add(item.actionType1);
            }
            return(output);
        }
Пример #2
0
 public List <org_types> GetTypes()
 {
     return(da.GetOrderedData <org_types>("type"));
 }