public async Task <IActionResult> Edit(int id, [Bind("Id,LargeIcon,MediumIcon,SmallIcon,Text")] WelpServiceCategory welpServiceCategory)
        {
            if (id != welpServiceCategory.Id)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(welpServiceCategory);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!WelpServiceCategoryExists(welpServiceCategory.Id))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction("Index"));
            }
            return(View(welpServiceCategory));
        }
        public async Task <IActionResult> Create([Bind("Id,LargeIcon,MediumIcon,SmallIcon,Text")] WelpServiceCategory welpServiceCategory)
        {
            if (ModelState.IsValid)
            {
                _context.Add(welpServiceCategory);
                await _context.SaveChangesAsync();

                return(RedirectToAction("Index"));
            }
            return(View(welpServiceCategory));
        }