Example #1
0
        public static ActionLinkToSnowItem GetActionLinkToSnowItem(LoginUser loginUser, int id)
        {
            ActionLinkToSnow actionLinkToSnow = new ActionLinkToSnow(loginUser);

            actionLinkToSnow.LoadById(id);
            if (actionLinkToSnow.IsEmpty)
            {
                return(null);
            }
            else
            {
                return(actionLinkToSnow[0]);
            }
        }
Example #2
0
 public ActionLinkToSnowItem(DataRow row, ActionLinkToSnow actionLinkToSnow) : base(row, actionLinkToSnow)
 {
     _actionLinkToSnow = actionLinkToSnow;
 }