// DELETE api/<controller>/5 public IHttpActionResult Delete(int id) { if (repo.FindbyId(id) == null) { return(NotFound()); } else { repo.Delete(id); return(Ok()); } }
public Response Delete(long DeveloperId) { return(repo.Delete(DeveloperId)); }
// DELETE api/<controller>/5 public IHttpActionResult Delete(int id) { if (repo.FindbyId(id) == null) { return(NotFound()); } else { repo.Delete(id); return(Ok()); } }
public Response Delete(long DeveloperId) { return(repo.Delete(DeveloperId)); }