Commit d2c688e2 authored by TTrueBenji's avatar TTrueBenji

refactor: удалил ненужный код.

parent 55a0af92
...@@ -41,7 +41,6 @@ namespace PhoneStore.Controllers ...@@ -41,7 +41,6 @@ namespace PhoneStore.Controllers
phones = phones.Where(p => string.Equals(p.Name, name, StringComparison.CurrentCultureIgnoreCase)); phones = phones.Where(p => string.Equals(p.Name, name, StringComparison.CurrentCultureIgnoreCase));
} }
var phoneList = phones.ToList();
return View(phones.ToList()); return View(phones.ToList());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment