public async Task <IActionResult> Create([Bind("ID,English,Japanese,Pronunciation,Definition,Notes,Category,Synonyms,Example,System")] WordModel wordModel) { if (ModelState.IsValid) { _context.Add(wordModel); await _context.SaveChangesAsync(); return(RedirectToAction(nameof(Index))); } return(View(wordModel)); }
public void Create(Mistake item) { db.Add(item); }
public void Create(Topic item) { db.Add(item); }
public void Create(Word item) { db.Add(item); }
public void Create(TopicResult item) { db.Add(item); }
public void Create(User item) { db.Add(item); }