AddressList.GetAddressList C# (CSharp) Method

GetAddressList() public static method

public static GetAddressList ( ) : List
return List
            public static List<Address> GetAddressList()
            {
                if(_backend.Count == 0)
                {
                    //Here you can load your models from your data source
                }
                else
                {
                    return _backend;
                }
            }
        }