public IActionResult AddToSheet(SpellSheet spellSheet) { //var user = GetCurrentUserProfile(); _repo.Add(spellSheet); return(NoContent()); }
public void Add(SpellSheet spellSheet) { _context.Add(spellSheet); _context.SaveChanges(); }
public void Delete(SpellSheet spellSheet) { _context.Remove(spellSheet); _context.SaveChanges(); }