public async Task <IActionResult> CreateAttribute(string name) { Models.Attribute attribute = new Models.Attribute() { Name = name }; await _attributeService.AddAttribute(attribute); return(RedirectToAction("Index")); }