public IEnumerable <lut_general_usages> GetTable(string TableName) { try { CodesDAL codes = new CodesDAL(); if (string.IsNullOrEmpty(TableName)) { throw new ArgumentException("TableName is mandatory"); } else { return(codes.lut_general_usages_GetTable(TableName)); } } catch { throw; } }
public IEnumerable <lut_organizationtype> GetOrganizationType(string identifier) { try { CodesDAL codes = new CodesDAL(); if (string.IsNullOrEmpty(identifier)) { return(codes.lut_organizationtype_GetAll()); } else { lut_organizationtype FilterObj = lut_organizationtypeConverter.ConvertParams(identifier); return(codes.lut_organizationtype_Filter(FilterObj)); } } catch { throw; } }
public IEnumerable <lut_city> GetCity(string Identifier) { try { CodesDAL codesDAL = new CodesDAL(); if (string.IsNullOrEmpty(Identifier)) { return(codesDAL.lut_city_GetAll()); } else { lut_city FilterObj = lut_cityConverter.ConvertParams(Identifier); return(codesDAL.lut_city_Filter(FilterObj)); } } catch { throw; } }