public async Task <ActionResult> Create([FromBody] CreateSellerDTO sellerDTO) { Seller seller = _mapper.Map <Seller>(sellerDTO); await _sellerRepository.CreateAsync(seller); return(CreatedAtRoute("GetSellerById", new { seller.Id }, seller)); }