public static BootstrapSelectVm ToBootstrapSelectVm(this CategoryType category) { return(new BootstrapSelectVm() { SelectedItem = category.ToString(), SelectedItemText = category.GetDescriptionOfEnum(), SourceList = CategoryType.Incoming.ToList() }); }