Exemple #1
0
        public async Task <IActionResult> DeletePerm(int id)
        {
            await Db.Connection.OpenAsync();

            var query  = new BlogPostQuery(Db);
            var result = await query.deleteUserInformationByPermId(id);

            if (result is null)
            {
                return(new NotFoundResult());
            }
            return(new OkObjectResult(result));
        }