Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public ActionResult GelAllRoleChildrenByIdAdmin(string id, bool hasAll = false, int idSelected = 0, bool isDisable = false) { string userid = user.Id.ToString(); string roleid = user.Roleid.ToString(); string BranchId = user.BranchId.ToString(); ViewBag.id = id; ViewBag.hasAll = hasAll; ViewBag.idSelected = idSelected; ViewBag.isDisable = isDisable; var db = new CommonBusiness(); var result = db.GelAllRoleChildrenByIdAdmin(userid, roleid, BranchId); return(PartialView(result)); }