示例#1
0
        public async Task <bool> UpdateColumnFilterAsync(ModuleColumnFilter columnFilter)
        {
            ModuleColumnFilter newColumnFilter = null;

            newColumnFilter = await _columnFilterRepository.UpdateAsync(columnFilter);

            return(newColumnFilter != null);
        }
示例#2
0
        public async Task <bool> CreateColumnFilter(ModuleColumnFilterDto input)
        {
            ModuleColumnFilter newColumnFilter = new ModuleColumnFilter()
            {
                ColumnCode = input.ColumnCode,
                ColumnName = input.ColumnName,
                ModuleId   = input.ModuleId,
                IsValid    = input.IsValid,
                Sort       = input.Sort,
            };

            return(await _moduleManager.CreateColumnFilterAsync(newColumnFilter));
        }