Exemple #1
0
        public async Task <IActionResult> Delete(string id)
        {
            _Food.Delete(id);
            IEnumerable <Food> data = await _Food.GetAll();

            return(Json(data));
        }