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