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