public async Task <bool> UpdateColumnFilterAsync(ModuleColumnFilter columnFilter) { ModuleColumnFilter newColumnFilter = null; newColumnFilter = await _columnFilterRepository.UpdateAsync(columnFilter); return(newColumnFilter != null); }
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)); }