private void PopulateDropDownLists(Project project = null) { ViewData["ClientID"] = new SelectList(_context .Clients .OrderBy(c => c.Name), "ID", "Name", project?.ClientID); ViewData["DesignerID"] = new SelectList(_context .Set <Employee>() .OrderBy(e => e.FullName), "ID", "FullName", project?.DesignerID); }