public HttpResponseMessage Delete(int id) { ResultModel result = respository.delete_battle(id); var response = Request.CreateResponse <ResultModel>(System.Net.HttpStatusCode.OK, result); return(response); }