Ejemplo n.º 1
0
        public IActionResult Create()
        {
            MaterialCreationViewModel model = new MaterialCreationViewModel()
            {
                Suppliers = _workshopRepository.GetAllSuppliers()
            };

            return(View(model));
        }
        public IActionResult Index()
        {
            var result = _workshopRepository.GetAllSuppliers();

            return(View(result));
        }