コード例 #1
0
        public bool CheckTransportForAgency(Guid AgencyId)
        {
            connectionFactory = ConnectionHelper.GetConnection();
            var context          = new DbContext(connectionFactory);
            var familyRepository = new FamilyRepository(context);

            return(familyRepository.CheckTransportForAgency(AgencyId));
        }