Beispiel #1
0
 public Task RemoveBafuSurfSpotAsync(BafuSurfSpot bafuSurfSpot)
 {
     using var db = new SurfsUpDbContext();
     db.Remove(bafuSurfSpot);
     return(db.SaveChangesAsync());
 }
Beispiel #2
0
 public Task RemoveMswSurfSpotAsync(MswSurfSpot mswSurfSpot)
 {
     using var db = new SurfsUpDbContext();
     db.Remove(mswSurfSpot);
     return(db.SaveChangesAsync());
 }