/// <summary> /// Add new Blog /// </summary> /// <param name="blog"></param> /// <returns></returns> public int CreateBlog(BusinessModels.Blog.Blog blog) { var model = _mapper.Map <BlogDto>(blog); return(_blogService.CreateBlog(model)); }
/// <summary> /// Add new Blog /// </summary> /// <param name="blog"></param> /// <returns></returns> public int CreateBlog(BusinessModels.Blog.Blog blog) { var model = _mapper.Map <BlogDto>(blog); return(_blogService.CreateBlog(model)); }