Esempio n. 1
0
        public IActionResult ListDataChangeLawUnit(IDataTablesRequest request, DeliveryItemChangeLawUnitVM filterData)
        {
            var newLawUnit   = courtLawUnitService.LawUnitForCourt_SelectDDL(NomenclatureConstants.LawUnitTypes.MessageDeliverer, filterData.CourtId, true);
            var newLawUnitId = newLawUnit.Where(x => x.Value != "-1").Select(x => int.Parse(x.Value)).ToArray();
            var data         = service.DeliveryItemChangeLawUnitSelect(filterData, newLawUnitId);

            return(Json(data.ToList()));
        }