public IActionResult Get(long id)
 {
     try
     {
         return(Ok(_repository.FindBy(id)));
     }
     catch
     {
         var error = new FunctionalError("US002.1a", "Geen Slak met deze ID");
         return(this.NotFound(error));
     }
 }
 public IActionResult Delete(int id)
 {
     try
     {
         _repository.Delete(id);
         return(Ok());
     }
     catch
     {
         var error = new FunctionalError("US002.1a", "Geen Slak met deze ID");
         return(NotFound(error));
     }
 }