Example #1
0
        public async Task <IActionResult> Delete(string memberId)
        {
            var identityResult = await _member.DeleteAsync(memberId);

            if (identityResult.Succeeded)
            {
                return(RedirectToAction("Index"));
            }
            return(View());
        }