public static UpdateCommandBuilder <T> AddAction <T>(
     this UpdateCommandBuilder <T> builder,
     UpdateAction <T> action)
     where T : Resource <T>
 {
     builder.Actions.Add(action);
     return(builder);
 }
        public static UpdateCommandBuilder <T> AddAction <T>(
            this UpdateCommandBuilder <T> builder,
            Func <UpdateAction <T> > action)
            where T : Resource <T>
        {
            var addedAction = action.Invoke();

            builder.Actions.Add(addedAction);
            return(builder);
        }