public ActionResult Delete(int id) { var model = api.Delete(id); if (model == null) { return(NotFound()); } return(Ok()); }
public void Delete() { var result = serverAppService.Delete(1); Assert.IsNotNull(result); }