public IActionResult MemberDetail(int id) { var model = _schoolServices.GetMember(HttpContext.Session.GetAuth().Key, id); var _parent = _schoolServices.GetParent(HttpContext.Session.GetAuth().Key); ViewBag.parent = _parent; return(View(model)); }
public IActionResult MemberDetail(int id) { var model = _schoolServices.GetMember(HttpContext.Session.GetAuth().Key, id); var _parent = _schoolServices.GetParent(HttpContext.Session.GetAuth().Key); ViewBag.parent = _parent; return(View(model)); }