Url to replace space with Hyphen and other special chars in MVC-Razor

I am using ASP.NET MVC Razor C# with Attribute Routes

In my Category form when I click on Edit. it opens the Url like below:


I am trying to change the Url like below


Here the problem is, when I go to database to search for the category based does not search because there is no category with the name of Database-Design. It exist as Database Design with space.

Is there any way to not include the Id in Url and so we can also achieve the below Url? :


Same query has already been posted here: [url removed, login to view]

Please check the comments also.

Sorry the correct Url is :

Compétences : .NET, ASP.NET, Programmation C#

en voir plus : razor programming, mvc programming, design special name, c with, mvc razor architecture, nhibernate mvc razor, mvc razor nhibernate, wordpress replace text url link, urlencoder encode replace space, htaccess space url, including space url rewriting rules htaccess, excell replace space, vbnet replace space

Concernant l'employeur :
( 143 commentaires ) SANGRUR, India

Nº du projet : #8482112