Example #1
0
 public void Update(string id, Recrive recriveIn) =>
 _recrive.ReplaceOne(recrive => recrive.recriveId == id, recriveIn);
Example #2
0
 public void Remove(Recrive recriveIn) =>
 _recrive.DeleteOne(recrive => recrive.recriveId == recriveIn.recriveId);
Example #3
0
 public Recrive Create(Recrive recrive)
 {
     _recrive.InsertOne(recrive);
     return(recrive);
 }