public async Task <bool> ActivateAsync(FarmModifyRequest request) { await _farmPictureRepository.UpdateStatusByFarmIdAsync(new FarmPicturesModifyRequest { FarmId = request.Id, UpdatedById = request.UpdatedById }, PictureStatus.Actived); return(await _farmRepository.ActiveAsync(request)); }