public async Task <AnnounceSubScreenForReturnDto> Update(AnnounceSubScreenForCreationDto updateDto)
        {
            var checkByIdFromRepo = await announceSubScreenDal.GetAsync(x => x.Id == updateDto.Id);

            if (checkByIdFromRepo == null)
            {
                throw new RestException(HttpStatusCode.BadRequest, new { NotFound = Messages.NotFound });
            }

            var mapForUpdate = mapper.Map(updateDto, checkByIdFromRepo);
            var updatePhoto  = await announceSubScreenDal.Update(mapForUpdate);

            return(mapper.Map <AnnounceSubScreen, AnnounceSubScreenForReturnDto>(updatePhoto));
        }