public IActionResult Index() { var model = new CaseLawUnitTaskChangeFilterVM() { DateFrom = new DateTime(DateTime.Now.Year, 1, 1) }; return(View(model)); }
public IActionResult ListData(IDataTablesRequest request, CaseLawUnitTaskChangeFilterVM filter) { var data = service.Select(null, filter.DateFrom, filter.DateTo, filter.CaseNumber, filter.NewUserName); return(request.GetResponse(data)); }