Example #1
0
 public static async Task<Nota> insertNota(float VA1, float VA2, float VA3, string alunoId, string turmaDisciplinaId)
 {
     Nota nota = new Nota { VA1 = VA1, VA2 = VA2, VA3 = VA3, AlunoId = alunoId, TurmaDisciplinaId = turmaDisciplinaId };
     await App.MobileService.GetTable<Nota>().InsertAsync(nota);
     return nota;
 }
Example #2
0
 public static async void updateNota(Nota nota)
 {
     await App.MobileService.GetTable<Nota>().UpdateAsync(nota);
 }