public IHttpActionResult Delete(int id) { var result = _experimentService.Delete(id, HttpContext.Current); return(Ok(result)); }
public ActionResult <Experiment> Delete(string id) { _exptSvc.Delete(id); return(NoContent()); }