Exemple #1
0
        public async Task <IEnumerable <model.MenuItem> > Update()
        {
            proxy.MenuProxy proxy    = new proxy.MenuProxy();
            var             updateGM = await proxy.GetMenu(menuApiUrl);

            repositories.MenuRepository repo = new repositories.MenuRepository(new System.Data.SqlClient.SqlConnection());
            repo.UpdateMenu();
            return(updateGM);
        }