FeedInsert() public static méthode

public static FeedInsert ( Feed feed ) : Feed
feed Feed
Résultat Feed
        public static Feed FeedSave(Feed feed)
        {
            if (!feed.IsValid)
            {
                return(feed);
            }

            Feed result;

            if (feed.IsNew)
            {
                result = FeedRepository.FeedInsert(feed);
            }
            else
            {
                result = FeedRepository.FeedUpdate(feed);
            }

            return(result);
        }