Prizm.Main.Synch.Export.DataExporter.GetAllPortions C# (CSharp) Method

GetAllPortions() public method

public GetAllPortions ( ) : IList
return IList
        public IList<Portion> GetAllPortions()
        {
            IList<Portion> portions = new List<Portion>();
            try
            {
                portions = exportRepo.PortionRepo.GetAll();
            }
            catch(RepositoryException ex)
            {
                log.Warn(this.GetType().Name + " | " + ex.ToString());
            }

            return portions;
        }