//set Application Type
 public SelectList getApplicationSelectListDB()
 {
     try
     {
         EnumsForViews EnumsForViews = new EnumsForViews();
         return(EnumsToSelectList.ToSelectList(typeof(EnumsForViews.VesselApplicationType), "0"));
     }
     catch (Exception)
     {
         throw;
     }
 }
 //set Search Owner Type
 public SelectList getSearchOwnerTypeDB()
 {
     try
     {
         EnumsForViews EnumsForViews = new EnumsForViews();
         return(EnumsToSelectList.ToSelectList(typeof(EnumsForViews.OwnerSearchType), "0"));
     }
     catch (Exception)
     {
         throw;
     }
 }
Example #3
0
 //set Longitude Directions
 public SelectList getLongitudeDirectionsDB()
 {
     try
     {
         EnumsForViews EnumsForViews = new EnumsForViews();
         return(EnumsToSelectList.ToSelectList(typeof(EnumsForViews.LongDirections), "0"));
     }
     catch (Exception)
     {
         throw;
     }
 }