CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2010
    Posts
    17

    Providing a MVC URL in a model class

    I have need to provide a URL to a controller and action in one of my model classes. Is this possible to do with out providing the entire webaddress as well?

  2. #2
    Join Date
    Nov 2002
    Location
    .NET 3.5 VS2008
    Posts
    1,039

    Re: Providing a MVC URL in a model class

    Hi,

    You can pass any parameters you want to your controller action. You can do that through the model or in the parameter list. Have you tried any of these options?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured