Example #1
0
        public async Task <ActionResult <PageLightDTO> > UpdateOwnerAsync(Guid id, [FromBody] ChangePageOwnerDTO dto)
        {
            var item = await _pages.ChangeOwnerAsync(id, dto.OwnerId);

            return(Ok(Mappers.GetPageLightDTO(item)));
        }