Created partial views sample with database.