public async Task <IActionResult> EntryApplicationAccept(int id) { await _memberServices.EditStatusAsync(id, MemberDbSetStatusEnum.Accept); int societyId = (await _societyManagementSystemDbContext.Member.FindById(id)).Society; return(RedirectToAction("EntryApplications", new { id = societyId })); }