Ejemplo n.º 1
0
        public async Task <ActionResult> Add(ItemGroupDto model)
        {
            if (ModelState.IsValid)
            {
                var departmentId = await _itemService.AddItemGroup(model);

                if (departmentId.IsNotBlank())
                {
                    return(PartialView("CloseLayerPartial"));
                }
            }
            return(View(model));
        }