Exemple #1
0
        // GET: ContactInfo/Details/5
        public async Task <IActionResult> Index(Guid id)
        {
            ContactInfo item = await dataService.GetContactInfoItem(id);

            if (item != null)
            {
                return(View(item));
            }
            else
            {
                return(BadRequest("Запись не найдена"));
            }
        }