public async Task <IActionResult> DeleteConfirmed(Guid id)
        {
            Member member = await _memberRepository.GetMember(id);

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

            try
            {
                await _memberRepository.DeleteEntity(id);

                TempData["Success"] = "Donation successfully deleted!";
                return(RedirectToAction("Index"));
            }
            catch (Exception ex)
            {
                ModelState.AddModelError(string.Empty, ex.Message);
                MemberVM = new MemberViewModel(member);
                return(View(MemberVM));
            }
        }