示例#1
0
        public IActionResult Index()
        {
            var model = new CaseLawUnitTaskChangeFilterVM()
            {
                DateFrom = new DateTime(DateTime.Now.Year, 1, 1)
            };

            return(View(model));
        }
示例#2
0
        public IActionResult ListData(IDataTablesRequest request, CaseLawUnitTaskChangeFilterVM filter)
        {
            var data = service.Select(null, filter.DateFrom, filter.DateTo, filter.CaseNumber, filter.NewUserName);

            return(request.GetResponse(data));
        }