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/speciality/44.03.05/1"); }