Пример #1
0
        public async Task <ActionResult> PostAdvertisement([FromBody] CreateAdvertisment Command)
        {
            await _userService.AddAdvertisementAsync(Command, UserId);

            return(Created("/advertisments", null));
        }