Ejemplo n.º 1
0
        /// <summary>
        /// Получить все логи контактов
        /// </summary>
        /// <returns>Логи контактов</returns>
        public async Task <IEnumerable <ContactLog> > GetAllAsync()
        {
            var contactLogs = await _context.Set <ContactLog>().ToArrayAsync().ConfigureAwait(false);

            return(contactLogs);
        }
        /// <summary>
        /// Получить все логи государственных регистраций
        /// </summary>
        /// <returns>Логи государственных регистраций</returns>
        public async Task <IEnumerable <StateRegistrationLog> > GetAllAsync()
        {
            var stateRegistrationLogs = await _context.Set <StateRegistrationLog>().ToArrayAsync().ConfigureAwait(false);

            return(stateRegistrationLogs);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Получить все логи приглашений
        /// </summary>
        /// <returns>Логи приглашений</returns>
        public async Task <IEnumerable <InvitationLog> > GetAllAsync()
        {
            var invitationLogs = await _context.Set <InvitationLog>().ToArrayAsync().ConfigureAwait(false);

            return(invitationLogs);
        }
Ejemplo n.º 4
0
        /// <summary>
        /// Получить все логи иностранных участников
        /// </summary>
        /// <returns>Логи иностранных участников</returns>
        public async Task <IEnumerable <ForeignParticipantLog> > GetAllAsync()
        {
            var foreignParticipantLogs = await _context.Set <ForeignParticipantLog>().ToArrayAsync().ConfigureAwait(false);

            return(foreignParticipantLogs);
        }
Ejemplo n.º 5
0
        /// <summary>
        /// Получить все логи организаций
        /// </summary>
        /// <returns>Логи организаций</returns>
        public async Task <IEnumerable <OrganizationLog> > GetAllAsync()
        {
            var organizationLogs = await _context.Set <OrganizationLog>().ToArrayAsync().ConfigureAwait(false);

            return(organizationLogs);
        }
Ejemplo n.º 6
0
        /// <summary>
        /// Получить все логи сотрудников
        /// </summary>
        /// <returns>Логи сотрудников</returns>
        public async Task <IEnumerable <EmployeeLog> > GetAllAsync()
        {
            var employeeLogs = await _context.Set <EmployeeLog>().ToArrayAsync().ConfigureAwait(false);

            return(employeeLogs);
        }
Ejemplo n.º 7
0
        /// <summary>
        /// Получить все логи деталей визита
        /// </summary>
        /// <returns>Логи деталей визита</returns>
        public async Task <IEnumerable <VisitDetailLog> > GetAllAsync()
        {
            var visitDetailLogs = await _context.Set <VisitDetailLog>().ToArrayAsync().ConfigureAwait(false);

            return(visitDetailLogs);
        }