public HttpResponseMessage Delete(int id)
 {
     try
     {
         _itemService.Remove(id);
         return(Request.CreateResponse(HttpStatusCode.OK));
     }
     catch (Exception)
     {
         return(Request.CreateResponse(HttpStatusCode.InternalServerError));
     }
 }
        public async Task <ActionResult> DeleteAsync(int id)
        {
            try
            {
                await _todoItemsService.Remove(id);

                return(Ok(true));
            }
            catch (System.Exception)
            {
                return(BadRequest("Can't delete non existing item"));
            }
        }