예제 #1
0
 public void Update(string id, PartidaCertificacion pcIn) =>
 _pcs.ReplaceOne(pc => pc.Id == id, pcIn);
예제 #2
0
 public void Remove(PartidaCertificacion pcIn) =>
 _pcs.DeleteOne(pc => pc.Id == pcIn.Id);
예제 #3
0
 public PartidaCertificacion Create(PartidaCertificacion pc)
 {
     _pcs.InsertOne(pc);
     return(pc);
 }