public virtual ApiFollowerResponseModel MapBOToModel( BOFollower boFollower) { var model = new ApiFollowerResponseModel(); model.SetProperties(boFollower.Id, boFollower.Blocked, boFollower.DateFollowed, boFollower.FollowRequestStatu, boFollower.FollowedUserId, boFollower.FollowingUserId, boFollower.Muted); return(model); }
public virtual BOFollower MapEFToBO( Follower ef) { var bo = new BOFollower(); bo.SetProperties( ef.Id, ef.Blocked, ef.DateFollowed, ef.FollowRequestStatu, ef.FollowedUserId, ef.FollowingUserId, ef.Muted); return(bo); }
public virtual Follower MapBOToEF( BOFollower bo) { Follower efFollower = new Follower(); efFollower.SetProperties( bo.Blocked, bo.DateFollowed, bo.FollowRequestStatu, bo.FollowedUserId, bo.FollowingUserId, bo.Id, bo.Muted); return(efFollower); }
public virtual BOFollower MapModelToBO( int id, ApiFollowerRequestModel model ) { BOFollower boFollower = new BOFollower(); boFollower.SetProperties( id, model.Blocked, model.DateFollowed, model.FollowRequestStatu, model.FollowedUserId, model.FollowingUserId, model.Muted); return(boFollower); }