what i am trying to achieve is simple; Among all the view which i have in my web application, i have only two razor views that i have created a mobile version for them. so i
To check the request is from Mobile device or not you can use
HttpContext.Request.Browser.IsMobileDevice
as this will return a boolean result.