public FollowInfo Update(FollowInfo record)
        {
            MYS_FOLLOWINFO updatedRecord = FollowInfoMapper.ConvertToDBRecord(record);
            var            dbRecord      = Container.Table_FollowInfo.Attach(updatedRecord);

            if (Container.SaveChanges() == 1)
            {
                record.Id = dbRecord.Id;
            }
            return(record);
        }
        public FollowInfo Insert(FollowInfo record)
        {
            MYS_FOLLOWINFO newRecord = FollowInfoMapper.ConvertToDBRecord(record);

            var dbRecord = Container.Table_FollowInfo.Add(newRecord);

            if (Container.SaveChanges() == 1)
            {
                record.Id = dbRecord.Id;
            }
            return(record);
        }