Esempio n. 1
0
        public ActionResult Admin()
        {
            var adminScreen = new CostumeAdminScreenViewModel();

            adminScreen.Costumes    = _costumeService.GetCostumes();
            adminScreen.Suggestions = _costumeService.GetSuggestions();

            return(View(adminScreen));
        }
Esempio n. 2
0
        public List <CostumeViewModel> GetCostumes()
        {
            var costumes = _costumeService.GetCostumes();

            return(costumes);
        }