public Agency GetAgencyDetail(Guid AgencyId)
        {
            connectionFactory = ConnectionHelper.GetConnection();
            var context          = new DbContext(connectionFactory);
            var agencyRepository = new AgencyRepository(context);

            return(agencyRepository.GetAgencyDetail(AgencyId));
        }