public async Task <HttpResponseMessage> DeleteVariable(Guid id) { await _modelRepository.DeleteVariable(id); return(Request.CreateResponse(HttpStatusCode.OK)); }