public IHttpActionResult Delete(int ObjectTypeID) { ObjectType.Delete( ObjectTypeID, _Repository ); return(Ok()); }