public IInlandRevenue GetInlandRevenueById(int Id)
        {
            try
            {
                using (
                    var dbContext = (PitalyticsEntities)this.dbContextFactory.GetDbContext())
                {
                    var aRecord =
                        LookupQueries.GetInlandRevenueById(dbContext, Id);

                    return(aRecord);
                }
            }
            catch (Exception e)
            {
                throw new ApplicationException("Repository GetInlandRevenueById", e);
            }
        }