Example #1
0
        public IHttpActionResult Delete(int id)
        {
            var result = _experimentService.Delete(id, HttpContext.Current);

            return(Ok(result));
        }
Example #2
0
 public ActionResult <Experiment> Delete(string id)
 {
     _exptSvc.Delete(id);
     return(NoContent());
 }