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