示例#1
0
 public virtual IHttpActionResult Delete(string id)
 {
     try
     {
         _repository.Remove(id);
         return(Ok());
     }
     catch (Exception ex)
     {
         return(HandleException(ex));
     }
 }
 public void DeleteShouldWork()
 {
     repository.Remove("http://localhost:3030/speciality-vocabulary/lists/3/scientificspeciality/02.00.02/4");
 }