Esempio n. 1
0
 public HttpResponseMessage Delete(ApiAgentModel agent)
 {
     if (_agentManager.Delete(agent))
     {
         return(new HttpResponseMessage(HttpStatusCode.OK));
     }
     return(new HttpResponseMessage(HttpStatusCode.BadRequest));
 }
Esempio n. 2
0
 public void Delete(int id)
 {
     _agentManager.Delete(id);
 }