示例#1
0
        public SuggestedCharacterBO NewSuggestedCharacter(string _suggestedCharacterName, string _suggestedCharacterSeries)
        {
            int _suggestCharID        = dataContext.AddSuggestedCharacter(_suggestedCharacterName, _suggestedCharacterSeries);
            SuggestedCharacterBO rval = new SuggestedCharacterBO();

            rval.SuggestedCharacterID     = _suggestCharID;
            rval.SuggestedCharacterName   = _suggestedCharacterName;
            rval.SuggestedCharacterSeries = _suggestedCharacterSeries;
            return(rval);
        }
示例#2
0
 public void DeleteSuggestedCharacter(SuggestedCharacterBO sugChar)
 {
     DeleteSuggestedCharacter(sugChar.SuggestedCharacterID);
 }