Beispiel #1
0
        public async Task <IActionResult> Save(BlogDto blogdto)
        {
            var newblog = await _blogservices.AddAsync(_mapper.Map <Blog>(blogdto));

            return(Created(string.Empty, _mapper.Map <BlogDto>(newblog)));
        }