public BusinessUserDTO(BusinessUser businessUser) { User = new SimpleUserDTO(businessUser.User); Role = businessUser.Role; RoleName = Enum.GetName(typeof(UserRole), businessUser.Role); Title = businessUser.Title; }
public BusinessReviewCommentDTO(BusinessReviewComment businessReviewComment) { Id = businessReviewComment.Id; Comment = businessReviewComment.Comment; CreatedTime = businessReviewComment.CreatedTime; CreatedBy = new SimpleUserDTO(businessReviewComment.CreatedBy); }