Entity Model
public partial class Categoies { public Categoies() { this.Posts = new HashSet(); } public int Id { get; se
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.