public HttpResponseMessage GetMenuItemById(int menuItemId)
 {
     try
     {
         var menuItem = _repository.GetMenuItemById(menuItemId);
         return(Request.CreateResponse <MenuItem>(HttpStatusCode.OK, menuItem));
     }
     catch (Exception ex)
     {
         return(Request.CreateResponse(HttpStatusCode.NotFound, ex));
     }
 }