public int InsertLinkMan(LinkMans linkMan) { if (Session["user"] == null) { return(-1000); } if (!PowerDAL.HasPower((Session["user"] as Users).RoleID.Value, 8)) { return(-1001); } return(LinkMansDAL.Insert(linkMan)); }
public static int Update(LinkMans linkMan) { return(BaseDAL.Update(linkMan)); }
public static int Insert(LinkMans linkMan) { return(BaseDAL.Insert(linkMan)); }