public List <EntryModel> GetEntries(int CompanyId)
        {
            List <EntryModel> result = new List <EntryModel>();

            try
            {
                result = EntryDAL.GetEntriesByCompanyId(CompanyId);
            }
            catch (Exception e)
            {
            }
            return(result);
        }
Exemple #2
0
        public List <EntryModel> GetEntries(int CompanyId)
        {
            List <EntryModel> result = new List <EntryModel>();

            try
            {
                EntryDAL entryDAL = new EntryDAL();
                result = entryDAL.GetEntriesByCompanyId(CompanyId);
            }
            catch (Exception e)
            {
                throw new Exception(e.Message);
            }
            return(result);
        }