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