I found the solution, Thanks all for reply.
category = (Categoies)AutoMapper.Mapper.Map(viewModel, category, typeof(CategoriesViewModel), typeof(Categoies));
But, I have already dont know the reason. I cant understand fully.
Related Posts:
- What is the use of @Html.AntiForgeryToken()?
- HTTP Error 500.19 and error code : 0x80070021
- What is @section scripts and what it is used for
- MVC Razor @foreach
- JQuery – $ is not defined
- JQuery – $ is not defined
- How to fix No connection could be made because the target machine actively refused it 127.0.0.1:64527
- failed to load resource: the server response with a status 500 (internal server error)
- ASP.NET 5 MVC: unable to connect to web server ‘IIS Express’
- Why is this code throwing an InvalidOperationException?
- Twilio TwilioRestClient does not contain a definition for SendSmsMessage
- how to call jquery selector from outside kendo window?
- System.web.mvc missing
- Compiler Error Message: The compiler failed with error code -2146232576
- Differences between Html.TextboxFor and Html.EditorFor in MVC and Razor
- Infinite Scrolling in Asp.Net MVC with jQuery / AJAX Issues
- What is the difference between ASP.NET MVC 6 and ASP.NET Core 1.0 and the reason behind the core framework?
- A potentially dangerous Request.Form value was detected from the client
- How to remove error about glyphicons-halflings-regular.woff2 not found
- What is ViewModel in MVC?
- How can I secure passwords stored inside web.config?
- XML Parsing Error: no root element found Location in Console FF
- jQuery $.cookie is not a function
- Can’t Add View from Controller in VS 2015 : “There was an error running the selected code generator”
- Process exists with ExitCode 255
- Html.Partial vs Html.RenderPartial & Html.Action vs Html.RenderAction
- What is the difference between ASP.NET and ASP.NET MVC?
- ASP.NET MVC Page Won’t Load and says “The resource cannot be found”
- How do I target @Model within a src of an image tag?
- The following sections have been defined but have not been rendered for the layout page “~/Views/Shared/_Layout.cshtml”: “Scripts”
- The following sections have been defined but have not been rendered for the layout page “~/Views/Shared/_Layout.cshtml”: “Scripts”
- HTML.ActionLink method
- Could not load file or assembly ‘Microsoft.Web.Infrastructure,
- @Html.BeginForm Displaying “System.Web.Mvc.Html.MvcForm” on Page
- Styles.Render in MVC4
- Set space between divs
- Mailto on submit button
- What does ModelState.IsValid do?
- There is no ViewData item of type ‘IEnumerable
‘ that has the key country - Connection string using Windows Authentication
- What does HTML.Raw do?
- What is jQuery Unobtrusive Validation?
- How to open a URL in a new Tab using JavaScript or jQuery?
- The model item passed into the dictionary is of type .. but this dictionary requires a model item of type
- Cannot attach the file *.mdf as database
- Could not load file or assembly Exception from HRESULT: 0x80131040
- CS1617: Invalid option ‘6’ for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default
- Convert from List into IEnumerable format
- ASP.NET MVC controller actions that return JSON or partial html
- The name ‘ViewBag’ does not exist in the current context – Visual Studio 2015
- Authorization has been denied for this request – New Web API Project
- System.ArgumentNullException: Value cannot be null. Parameter name: source
- How to make Check Box List in ASP.Net MVC
- Effectively use async/await with ASP.NET Web API
- How to fix javascript .toFixed is not a Function error
- “The transaction log for database is full due to ‘LOG_BACKUP'” in a shared host