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