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; }