Example #1
0
 public virtual IHttpActionResult Delete(string id)
 {
     try
     {
         _repository.Remove(id);
         return(Ok());
     }
     catch (Exception ex)
     {
         return(HandleException(ex));
     }
 }
Example #2
0
 public void DeleteShouldWork()
 {
     repository.Remove("http://www.semanticweb.org/давид/ontologies/2017/4/untitled-ontology-25#Д_001.001.01");
 }