public IActionResult CreateCategories() { var category = new categories() { name = "caaat" }; webNotesContext.Add(category); webNotesContext.SaveChanges(); return(Ok("OK")); }
public void Save() { context.SaveChanges(); }
public IActionResult CreateCategories() { var category = new categories() { name = "caaat" }; webNotesContext.Add(category); webNotesContext.SaveChanges(); return(Ok("OK")); }
public void Save() { context.SaveChanges(); }