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