public async Task <IActionResult> ShowMember(int membercounter) { var q = await this._IhnNotifyService.ShowMemberItem(membercounter); DTOhnNotifyItemUser _dto = new DTOhnNotifyItemUser(); _dto.member_counter = membercounter; _dto.DTOhnNotifyItems = q; return(View(_dto)); }
public IActionResult ShowMember(DTOhnNotifyItemUser dto) { this._IhnNotifyService.UpdateNotifyMember(dto); return(RedirectToAction("ServiceList", "Item", new { membercounter = dto.member_counter })); }