public DepInfoModel GetDepInfo(GetDepInfoRequestModel condtion) { MembersService ms = new MembersService(); ms.GetDepBaseInfo(condtion); return(ms.depInfo); }
public ActionResult depdetail(string Id) { ViewBag.PageId = Guid.NewGuid().ToString(); ViewBag.Id = Id; MembersService ms = new MembersService(); ms.GetDepBaseInfo(new GetDepInfoRequestModel() { depmentid = Id }); ViewBag.depInfo = ms.depInfo; return(View()); }