public async Task <IActionResult> Edit(int id, [Bind("Id,AnnualReviewId,ToolsoftheTradeId,ToolsoftheTradeRating")] TblAnnualReviewToolsoftheTradeResponse tblAnnualReviewToolsoftheTradeResponse)
        {
            if (id != tblAnnualReviewToolsoftheTradeResponse.Id)
            {
                return(NotFound());
            }

            if (ModelState.IsValid)
            {
                try
                {
                    _context.Update(tblAnnualReviewToolsoftheTradeResponse);
                    await _context.SaveChangesAsync();
                }
                catch (DbUpdateConcurrencyException)
                {
                    if (!TblAnnualReviewToolsoftheTradeResponseExists(tblAnnualReviewToolsoftheTradeResponse.Id))
                    {
                        return(NotFound());
                    }
                    else
                    {
                        throw;
                    }
                }
                return(RedirectToAction(nameof(Index)));
            }
            return(View(tblAnnualReviewToolsoftheTradeResponse));
        }
        public async Task <IActionResult> Create([Bind("Id,AnnualReviewId,ToolsoftheTradeId,ToolsoftheTradeRating")] TblAnnualReviewToolsoftheTradeResponse tblAnnualReviewToolsoftheTradeResponse)
        {
            if (ModelState.IsValid)
            {
                _context.Add(tblAnnualReviewToolsoftheTradeResponse);
                await _context.SaveChangesAsync();

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