public async Task <IActionResult> GetAllPersonalAdvertisements() { Guid customerId = Guid.Parse(User.Identity.Name); var ads = await _advertisementService.GetAdvertisementsByCustomerIdAsync(customerId); var adsDTOs = _mapper.Map <List <AdvertisementResponse> >(ads); return(Ok(adsDTOs)); }