Beispiel #1
0
        public IActionResult Create(int?id, LocalDTO local)
        {
            var result = new LocalDTO {
                Id     = local.Id,
                Adress = local.Adress
            };

            localService.AddLocal(local);
            return(RedirectToAction("GetAll", "Local"));
        }