Пример #1
0
        public IActionResult writing(int?id)
        {
            datas da = new datas();

            if (id == null)
            {
                return(NotFound());
            }
            Venting ben = da.GetDiary(id);

            if (ben == null)
            {
                return(NotFound());
            }
            return(View(ben));
        }
Пример #2
0
        public IActionResult Delete(int?id)
        {
            datas da = new datas();

            if (id == null)
            {
                return(NotFound());
            }
            Venting va = da.GetDiary(id);

            if (da == null)
            {
                return(NotFound());
            }

            return(View(va));
        }