Esempio n. 1
0
 public void Delete(IEnumerable <object> pool)
 {
     foreach (var o in pool)
     {
         _rep.Delete(o as Governor);
     }
 }
Esempio n. 2
0
 public HttpResponseMessage Delete([FromODataUri] Guid key)
 {
     _rep.Delete(_rep.GetById(key));
     return(Request.CreateResponse(HttpStatusCode.Accepted));
 }