Beispiel #1
0
    public static List <Area> Get_Areas(string organizationId, string filter)
    {
        List <Area> theList = new List <Area>();

        if (!string.IsNullOrEmpty(organizationId))
        {
            try
            {
                theList = AreaBLL.GetAreasForAutocomplete(Convert.ToInt32(organizationId), filter);
            }
            catch (Exception exc)
            {
                log.Error("Error in GetAreasForAutocomplete to filter: " + filter + " and organizationId: " + organizationId, exc);
            }
        }
        return(theList);
    }