public FavoriteCharacterEntity(FavoriteCharacterModel favoriteCharacterModel) { this.FirstName = favoriteCharacterModel.FirstName; this.LastName = favoriteCharacterModel.LastName; this.Character = favoriteCharacterModel.Character; this.Views = favoriteCharacterModel.ViewDate.Count(); }
public ViewEntity(FavoriteCharacterModel favoriteCharacterModel) { this.ViewDate = favoriteCharacterModel.ViewDate; }