public Task <int> SaveNoteAsync(AssignmentDataControl note)
 {
     if (note.ID != 0)
     {
         return(_database.UpdateAsync(note));
     }
     else
     {
         return(_database.InsertAsync(note));
     }
 }
 public Task <int> DeleteNoteAsync(AssignmentDataControl note)
 {
     return(_database.DeleteAsync(note));
 }