public HttpResponseMessage GetMenuItem()
 {
     try
     {
         var MenuItems = _repository.GetMenuItems();
         return(Request.CreateResponse <List <MenuItem> >(HttpStatusCode.OK, MenuItems));
     }
     catch (Exception ex)
     {
         return(Request.CreateResponse(HttpStatusCode.NotFound, ex));
     }
 }