public bool Delete(global::MongoDB.Bson.ObjectId id) { try { return(Collection().DeleteOne(m => m.Id == id).DeletedCount == 1); } catch (Exception) { return(false); } }
public T SearchById(global::MongoDB.Bson.ObjectId id) { try { return(Collection().Find(e => e.Id == id).SingleOrDefault()); } catch (Exception) { return(null); } }
public List <MEPatientProgramResponse> GetStepResponses(global::MongoDB.Bson.ObjectId stepId, string contractNumber, string userId) { throw new NotImplementedException(); }