Esempio n. 1
0
        public IActionResult Edit(Sach model, IFormFile[] ImageFiles)
        {
            var result = sachRepository.Edit(model, ImageFiles);

            if (result > 0)
            {
                return(RedirectToAction("Index", "Sach"));
            }
            return(View());
        }