Exemple #1
0
        public async Task <ActionResult <PageResult <EventLogModel> > > GetAll(
            string entityType   = null,
            int?entityId        = null,
            string entityName   = null,
            EventEnum?eventEnum = null,
            int?userId          = null,
            DateTime?startDate  = null,
            DateTime?endDate    = null,
            string fieldName    = null,
            string fieldValue   = null,
            int?page            = null,
            int?pageSize        = null,
            bool onlyProject    = false,
            OrderByEnum orderBy = OrderByEnum.Desc)
        {
            var result = await _eventLogService.FindByParams(
                entityType,
                entityId,
                entityName,
                eventEnum,
                userId,
                startDate,
                endDate,
                fieldName,
                fieldValue,
                onlyProject,
                orderBy,
                page,
                pageSize);

            return(result);
        }