示例#1
0
        public List <FollowInfo> GetFollowInfoByUser(FollowInfo followInfo)
        {
            FollowInfoDataAccessManager followInfoDataAccess = new FollowInfoDataAccessManager();

            return(followInfoDataAccess.GetByUser(followInfo));
        }
示例#2
0
        public FollowInfo AddNewFollowInfo(FollowInfo newFollowInfo)
        {
            FollowInfoDataAccessManager followInfoDataAccess = new FollowInfoDataAccessManager();

            return(followInfoDataAccess.Insert(newFollowInfo));
        }
示例#3
0
        public FollowInfo DeleteFollowInfo(FollowInfo followInfoToDelete)
        {
            FollowInfoDataAccessManager followInfoDataAccess = new FollowInfoDataAccessManager();

            return(followInfoDataAccess.Update(followInfoToDelete));
        }