title: How to findOneAndDelete in mongodb using MongoRepository in Spring
body: <p>I am using a Spring web service and MongoDb to hold my data. Currently my Repository class extends MongoRepository and an obj of its interface gets injected into my Controller. 
  There is no method for finding and deleting a specific entity in the MongoRepository interface. How can I do this without having to provide a concrete implementation? I need to do the operation at the same time.</p>
  
  <p>Here's my code on github if its useful: <a href="https://github.com/RyanNewsom/DentistAppointmentSchedulerService" rel="nofollow noreferrer">https://github.com/RyanNewsom/DentistAppointmentSchedulerService</a></p>