public IActionResult Edit(int id = 0)
        {
            var states = new List <SelectListItem>();

            foreach (var state in Enum.GetValues(typeof(State)))
            {
                states.Add(new SelectListItem()
                {
                    Text = state.ToString(), Value = state.ToString()
                });
            }
            ViewData["States"] = states;

            return(View(_handler.Get(id)));
        }
 public IActionResult Edit(int id = 0)
 {
     return(View(_handler.Get(id)));
 }