public async static void AddEmsCall(EmsCall call)
 {
     using (var db = new Database())
     {
         db.EmsCall.Add(call);
         await db.SaveChangesAsync();
     }
 }
Beispiel #2
0
 public void callCompleted(EmsCall call)
 {
     call.CallStatus = CallStatus.Active;
     EmsCallRepository.AddEmsCall(call);
 }