//method to add a note into the table public int AddNote(Note note) { context.Notes.Add(note); return(context.SaveChanges()); }
public int CreateLabel(Label labels) { context.Labels.Add(labels); return(context.SaveChanges()); }
public int CreateNote(MyNote noteId) { Dbobj.MyNotes.Add(noteId); return(Dbobj.SaveChanges()); }
public int CreatNote(Note Note) { context.Notes.Add(Note); return(context.SaveChanges()); }
public int CreateNotes(Note notes) { context.Notes.Add(notes); return(context.SaveChanges()); }
public int CreateLabel(MyLabel labelId) { Dbobj.MyLabels.Add(labelId); return(Dbobj.SaveChanges()); }
//method to add a label into the table public int AddLabel(Label label) { context.Labels.Add(label); return(context.SaveChanges()); }