示例#1
0
        public async Task <ActionResult> Slett(int FAQId)
        {
            var returnOK = await _db.Slett(FAQId);

            if (!returnOK)
            {
                return(NotFound("FAQ kunne ikke slettes"));
            }
            return(Ok("FAQ ble slettet"));
        }