public async Task <IActionResult> Edit(string id, [Bind("ZoneCode,ZoneName,SortingNo")] LookUpZoneInfo lookUpZoneInfo)
        {
            if (id != lookUpZoneInfo.ZoneCode)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(lookUpZoneInfo);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!LookUpZoneInfoExists(lookUpZoneInfo.ZoneCode))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(lookUpZoneInfo));
        }
        public async Task <IActionResult> Create([Bind("ZoneCode,ZoneName,SortingNo")] LookUpZoneInfo lookUpZoneInfo)
        {
            if (ModelState.IsValid)
            {
                _context.Add(lookUpZoneInfo);
                await _context.SaveChangesAsync();

                return(RedirectToAction(nameof(Index)));
            }
            return(View(lookUpZoneInfo));
        }