public virtual BOReply MapEFToBO( Reply ef) { var bo = new BOReply(); bo.SetProperties( ef.ReplyId, ef.Content, ef.Date, ef.ReplierUserId, ef.Time); return(bo); }
public virtual BOReply MapModelToBO( int replyId, ApiReplyRequestModel model ) { BOReply boReply = new BOReply(); boReply.SetProperties( replyId, model.Content, model.Date, model.ReplierUserId, model.Time); return(boReply); }