public List <FollowInfo> GetFollowInfoByUser(FollowInfo followInfo) { FollowInfoDataAccessManager followInfoDataAccess = new FollowInfoDataAccessManager(); return(followInfoDataAccess.GetByUser(followInfo)); }
public FollowInfo AddNewFollowInfo(FollowInfo newFollowInfo) { FollowInfoDataAccessManager followInfoDataAccess = new FollowInfoDataAccessManager(); return(followInfoDataAccess.Insert(newFollowInfo)); }
public FollowInfo DeleteFollowInfo(FollowInfo followInfoToDelete) { FollowInfoDataAccessManager followInfoDataAccess = new FollowInfoDataAccessManager(); return(followInfoDataAccess.Update(followInfoToDelete)); }